test/integration/sites_test.rb in lucy_cms-0.0.3 vs test/integration/sites_test.rb in lucy_cms-0.0.4
- old
+ new
@@ -41,10 +41,10 @@
assert_equal 'No Site defined for this hostname. Create it now.', flash[:error]
end
end
def test_get_admin_with_no_site_and_no_auto_manage
- LucyCMS.config.auto_manage_sites = false
+ LucyCms.config.auto_manage_sites = false
CmsSite.delete_all
assert_no_difference 'CmsSite.count' do
http_auth :get, cms_admin_pages_path
assert_response :redirect
assert_redirected_to cms_admin_sites_path