summaryrefslogtreecommitdiff
path: root/spec/support/matchers/have_issuable_counts.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/have_issuable_counts.rb')
-rw-r--r--spec/support/matchers/have_issuable_counts.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/have_issuable_counts.rb b/spec/support/matchers/have_issuable_counts.rb
index 92cf3de5448..049cfc022fb 100644
--- a/spec/support/matchers/have_issuable_counts.rb
+++ b/spec/support/matchers/have_issuable_counts.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :have_issuable_counts do |opts|
expected_counts = opts.map do |state, count|
"#{state.to_s.humanize} #{count}"