[rspec-users] Testing Sub-domains with Cucumber
Juanma Cervera
lists at ruby-forum.com
Wed Jan 28 09:32:42 EST 2009
Jonathan Linowes wrote:
> On Jan 14, 2009, at 11:39 AM, Tom Hoen wrote:
>
>> Posted via http://www.ruby-forum.com/.
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
>
> for example,
>
> Given /^a "(.+)" account$/ do |name|
> account = Account.create( :name => name )
> host! "#{account.to_param}.example.com"
> end
Can somebody point me to the documentation of host!, or explain what is
it.
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list