1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00
teamcapybara--capybara/spec/drivers_spec.rb

14 lines
315 B
Ruby
Raw Normal View History

2009-11-04 17:00:05 -05:00
require File.expand_path('spec_helper', File.dirname(__FILE__))
shared_examples_for 'driver' do
describe '#get' do
it "should fetch a response" do
@driver.get('/')
@driver.body.should == 'Hello world!'
@driver.get('/foo')
@driver.body.should == 'Another World'
end
end
end