summaryrefslogtreecommitdiff
path: root/spec/support/matchers/have_gitlab_http_status.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/have_gitlab_http_status.rb')
-rw-r--r--spec/support/matchers/have_gitlab_http_status.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/have_gitlab_http_status.rb b/spec/support/matchers/have_gitlab_http_status.rb
index e7e418cdde4..13a64a58218 100644
--- a/spec/support/matchers/have_gitlab_http_status.rb
+++ b/spec/support/matchers/have_gitlab_http_status.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :have_gitlab_http_status do |expected|
match do |actual|
expect(actual).to have_http_status(expected)