Sha256: 794e62f217d2379f9c8ceecd2a55f6dbba6c464b6540d66dc671ab1255a81aed
Contents?: true
Size: 321 Bytes
Versions: 17
Compression:
Stored size: 321 Bytes
Contents
Capybara::SpecHelper.spec "#execute_script", :requires => [:js] do it "should execute the given script and return nothing" do @session.visit('/with_js') expect(@session.execute_script("$('#change').text('Funky Doodle')")).to be_nil expect(@session).to have_css('#change', :text => 'Funky Doodle') end end
Version data entries
17 entries across 17 versions & 4 rubygems