Sha256: e43d046fc00fb492f23f37b4c03cba3848b839e91a28c68154dd1327861796e5
Contents?: true
Size: 452 Bytes
Versions: 7
Compression:
Stored size: 452 Bytes
Contents
Capybara::SpecHelper.spec '#title' do it "should print the title of the page" do @session.visit('/with_title') @session.title.should == 'Test Title' end context "with css as default selector" do before { Capybara.default_selector = :css } it "should print the title of the page" do @session.visit('/with_title') @session.title.should == 'Test Title' end after { Capybara.default_selector = :xpath } end end
Version data entries
7 entries across 7 versions & 2 rubygems