Sha256: 87a62767986ea5427abba7e5140065803899266ef7ee1d4b61da8a276d455eac
Contents?: true
Size: 456 Bytes
Versions: 17
Compression:
Stored size: 456 Bytes
Contents
Capybara::SpecHelper.spec '#go_forward', :requires => [:js] do it "should fetch a response from the driver from the previous page" do @session.visit('/') expect(@session).to have_content('Hello world!') @session.visit('/foo') expect(@session).to have_content('Another World') @session.go_back expect(@session).to have_content('Hello world!') @session.go_forward expect(@session).to have_content('Another World') end end
Version data entries
17 entries across 17 versions & 4 rubygems