diff options
| author | mo khan <mo.khan@gmail.com> | 2020-02-28 15:59:55 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-28 15:59:55 -0700 |
| commit | 083016a91a7b52cec6e72b8cd09aa688a79eb57e (patch) | |
| tree | 67642e1e63d581b8560437b97e21d9a0b9157056 /spec/support | |
| parent | 81a9a020c4ec4fff4382cd6c2bbbf1767a35d674 (diff) | |
Diffstat (limited to 'spec/support')
| -rw-r--r-- | spec/support/matchers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index 595cd17..3e4532e 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -1,6 +1,6 @@ RSpec::Matchers.define :match_schema do |version: '2.0'| def schema_for(version) - License::Management.root.join("spec/fixtures/schema/v#{version}.json").to_s + GitLab::License::Scanning.root.join("spec/fixtures/schema/v#{version}.json").to_s end match do |actual| !actual.nil? && (@errors = JSON::Validator.fully_validate(schema_for(version), actual)).empty? |
