summaryrefslogtreecommitdiff
path: root/spec/support/matchers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r--spec/support/matchers.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index 9f88bf1..71b6efb 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
RSpec::Matchers.define :match_schema do |version: License::Management::Report::DEFAULT_VERSION|
def schema_for(version)
License::Management.root.join("spec/fixtures/schema/v#{version}.json").to_s