features/step_definitions/global_steps.rb in crowdblog-0.0.15 vs features/step_definitions/global_steps.rb in crowdblog-0.0.16
- old
+ new
@@ -15,5 +15,9 @@
@current_user = Crowdblog::User.find_by_email('publisher@crowdint.com')
@current_user = Fabricate(:user_publisher) unless @current_user
@publisher_user = @current_user
end
+
+Then /^show me the page$/ do
+ save_and_open_page
+end