Skip to content

Instantly share code, notes, and snippets.

@foca
Created January 13, 2009 03:05
Show Gist options
  • Save foca/46303 to your computer and use it in GitHub Desktop.
Save foca/46303 to your computer and use it in GitHub Desktop.
describe Blah do
attr_reader :john, :mary
before(:each) do
@john = Webrat.session_class.new(self)
@mary = Webrat.session_class.new(self)
end
it "does stuff concurrently" do
mary.visit "/"
john.visit "/"
...
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment