Sha256: 6ca6a27e008b9d1dbf987ce89dadca5bef1a14769d55df2b249657073568d563
Contents?: true
Size: 469 Bytes
Versions: 30
Compression:
Stored size: 469 Bytes
Contents
shared_examples_for "text" do describe '#text' do before do @session.visit('/with_simple_html') end it "should print the text of the page" do @session.text.should == 'Bar' end context "with css as default selector" do before { Capybara.default_selector = :css } it "should print the text of the page" do @session.text.should == 'Bar' end after { Capybara.default_selector = :xpath } end end end
Version data entries
30 entries across 30 versions & 5 rubygems