Skip to content

Instantly share code, notes, and snippets.

@jarib
Created February 20, 2009 15:04
Show Gist options
  • Save jarib/67497 to your computer and use it in GitHub Desktop.
Save jarib/67497 to your computer and use it in GitHub Desktop.
it "evaluates <script> tags injected in the DOM through JQuery's replaceWith() - fixed in rev. 3598" do
@browser.goto(HTML_DIR + "/jquery.html")
@browser.link(:class, 'editLink').click
@browser.div(:id, 'content').text.should == "typeof update: function"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment