summaryrefslogtreecommitdiff
path: root/spec/support/matchers/include_module.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers/include_module.rb')
-rw-r--r--spec/support/matchers/include_module.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers/include_module.rb b/spec/support/matchers/include_module.rb
index 0a78af1e90e..9b6970cf061 100644
--- a/spec/support/matchers/include_module.rb
+++ b/spec/support/matchers/include_module.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :include_module do |expected|
match do
described_class.included_modules.include?(expected)