Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-11-03 18:40:13 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-11-03 18:40:13 +0300
commitc0299ce49406302a26e7fd16ec272bca19715afb (patch)
tree483c6a7e22ee486b5ceb9d14a5b04d546875d50c /spec/support/matchers
parente6616e0468deaf1e37ddddc9332cc3e677567410 (diff)
Add Projects::Clusters::ApplicationsController tests
Diffstat (limited to 'spec/support/matchers')
-rw-r--r--spec/support/matchers/access_matchers_for_controller.rb2
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)