[rspec-users] [Cucumber] host!

Mark Wilden mark at mwilden.com
Sat Feb 21 20:29:55 EST 2009

I'm trying to set a specific host that all my Cucumber steps should
use. Putting 'host! "beta.rupture.local"' in Before in env.rb doesn't
produce any errors, but it doesn't seem to be making the next request
use that host, either.

If I explicitly create a step whose definition includes 'host!
"beta.rupture.local"' then the next request does use that host. But I
don't want to have to include this step in every feature.


More information about the rspec-users mailing list