features/step_definitions/web_steps.rb in capybara-firebug-1.0.1 vs features/step_definitions/web_steps.rb in capybara-firebug-1.1.0
- old
+ new
@@ -5,7 +5,7 @@
Then /^I should be on "([^"]+)"$/ do |page|
current_url.should == page
end
Then /^Firebug should be active$/ do
- evaluate_script('window.console.firebug').should_not be_nil
+ evaluate_script('!!(window.console && (window.console.firebug || window.console.exception))').should be_true
end