Sha256: 8ea6cb09633a1d9df2ed695e48dad0cd1b7ffc721ea56011f8ebfc1237c8c970
Contents?: true
Size: 500 Bytes
Versions: 2
Compression:
Stored size: 500 Bytes
Contents
require 'spec_helper' describe 'disabled with javascript', :js => true do before :each do visit("http://#{SERVERIP}:#{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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ajax_pagination-0.6.5 | spec/ajax_pagination/integration/disabled_spec.rb |
ajax_pagination-0.6.4 | spec/ajax_pagination/integration/disabled_spec.rb |