Small cucumber steps fix that was messing with routing.

This commit is contained in:
Mario Visic 2012-04-06 16:08:06 +08:00
parent 7be37cf8d2
commit 760687d3fe
1 changed files with 3 additions and 0 deletions

View File

@ -13,4 +13,7 @@ Then /^I should be able to access the backend$/ do
click_link 'Home page'
click_button 'Save'
page.should have_content 'Page was successfully updated'
# Reset the routes back to normal once we are done
Rails.application.reload_routes!
end