require File.expand_path("../../../suit_application.rb", __FILE__) SuitApplication.test class ExampleTest < GemSuit::IntegrationTest context "My example test" do setup do end teardown do SuitApplication.restore_all end should "assert css as expected" do visit "/" assert page.has_css? "div#page" assert page.has_no_css? "div#paul_engel" # Hello World ;) page.execute_script <<-SCRIPT var div = document.createElement("div"); div.innerHTML = "
Closing in 10 seconds.