diff options
Diffstat (limited to 'test/integration/projects_test.rb')
-rw-r--r-- | test/integration/projects_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/projects_test.rb b/test/integration/projects_test.rb index 1abe6ad96..51a97aafb 100644 --- a/test/integration/projects_test.rb +++ b/test/integration/projects_test.rb @@ -45,7 +45,7 @@ class ProjectsTest < ActionController::IntegrationTest def test_modules_should_not_allow_get assert_no_difference 'EnabledModule.count' do get '/projects/1/modules', {:enabled_module_names => ['']}, credentials('jsmith') - assert_response :method_not_allowed + assert_response 404 end end end |