Sha256: 29747d612d54dca7da6e5249f51b1e288b5aa2bc2f54387c8b29291c0ba0d1a7
Contents?: true
Size: 498 Bytes
Versions: 7
Compression:
Stored size: 498 Bytes
Contents
require 'spec_helper' describe 'disabled with javascript', :js => true do before :each do visit("http://localhost:#{SERVERPORT}/pages/warnings") find("#disablehistoryjslink").click page.driver.browser.switch_to.alert.accept end it 'link within action still works' do find("#fullpagelink").click page.should have_content("You are on page 2") end it 'site navigation still works' do click_link("Readme") page.should have_selector('#readmepagetitle') end end
Version data entries
7 entries across 7 versions & 1 rubygems