spec/controllers/admin/pages_controller_spec.rb in enki-engine-0.0.4 vs spec/controllers/admin/pages_controller_spec.rb in enki-engine-0.0.5
- old
+ new
@@ -89,10 +89,10 @@
end
it 'it redirects to show' do
do_put
response.should be_redirect
- response.should redirect_to(admin_page_path(@page))
+ response.should redirect_to(admin_pages_path)
end
end
describe 'handling PUT to update with invalid attributes' do
before(:each) do
\ No newline at end of file