fixtures test fixed
Oleg
committed Jun 23, 2011
commit 146e5dd23766157e70cde299299d20c10cfd8097
Showing 1
changed file with
1 additions
and 1 deletions
test/integration/fixtures_test.rb
+1
-1
| @@ | @@ -49,7 +49,7 @@ class FixturesTest < ActionDispatch::IntegrationTest |
| assert_difference 'Cms::Page.count', 2 do | |
| assert_difference 'Cms::Layout.count', 2 do | |
| assert_difference 'Cms::Snippet.count', 1 do | |
| - | http_auth :get, '/cms-admin/pages' |
| + | http_auth :get, "/cms-admin/sites/#{cms_sites(:default).id}/pages" |
| assert_response :success | |
| assert_equal 'CMS Fixtures are enabled. All changes done here will be discarded.', flash[:error] | |
| end | |