diff options
author | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-03 18:40:13 +0300 |
---|---|---|
committer | Alessio Caiazza <acaiazza@gitlab.com> | 2017-11-03 18:40:13 +0300 |
commit | c0299ce49406302a26e7fd16ec272bca19715afb (patch) | |
tree | 483c6a7e22ee486b5ceb9d14a5b04d546875d50c /spec/support/matchers | |
parent | e6616e0468deaf1e37ddddc9332cc3e677567410 (diff) |
Add Projects::Clusters::ApplicationsController tests
Diffstat (limited to 'spec/support/matchers')
-rw-r--r-- | spec/support/matchers/access_matchers_for_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/access_matchers_for_controller.rb b/spec/support/matchers/access_matchers_for_controller.rb index bb6b7c63ee9..cdb62a5deee 100644 --- a/spec/support/matchers/access_matchers_for_controller.rb +++ b/spec/support/matchers/access_matchers_for_controller.rb @@ -5,7 +5,7 @@ module AccessMatchersForController extend RSpec::Matchers::DSL include Warden::Test::Helpers - EXPECTED_STATUS_CODE_ALLOWED = [200, 201, 302].freeze + EXPECTED_STATUS_CODE_ALLOWED = [200, 201, 204, 302].freeze EXPECTED_STATUS_CODE_DENIED = [401, 404].freeze def emulate_user(role, membership = nil) |