summaryrefslogtreecommitdiff
path: root/spec/support/matchers/metric_counter_matcher.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/metric_counter_matcher.rb')
-rw-r--r--spec/support/matchers/metric_counter_matcher.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/metric_counter_matcher.rb b/spec/support/matchers/metric_counter_matcher.rb
index 22d5cd17e3f..f0d52b9b149 100644
--- a/spec/support/matchers/metric_counter_matcher.rb
+++ b/spec/support/matchers/metric_counter_matcher.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :increment do |counter|
match do |adapter|
expect(adapter.send(counter))