On 28 Jan 2009, at 14:32, Juanma Cervera wrote:

Jonathan Linowes wrote:
On Jan 14, 2009, at 11:39 AM, Tom Hoen wrote:
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.

http://apidock.com/rails/ActionController/Integration/Session/host!

Matt Wynne
http://blog.mattwynne.net
http://www.songkick.com

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to