features/step_definitions/web_steps.rb in refinerycms-testing-0.9.9.22 vs features/step_definitions/web_steps.rb in refinerycms-testing-1.0.0
- old
+ new
@@ -212,8 +212,16 @@
else
assert_equal expected_params, actual_params
end
end
+Then /the page should have the css "(.*)"$/ do |expected_css|
+ page.should have_css(expected_css)
+end
+
Then /^show me the page$/ do
save_and_open_page
+end
+
+Then /^output the page$/ do
+ puts page.body
end