summaryrefslogtreecommitdiff
path: root/spec/integration/js/yarn_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/js/yarn_spec.rb')
-rw-r--r--spec/integration/js/yarn_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/js/yarn_spec.rb b/spec/integration/js/yarn_spec.rb
index 1e0eb52..a5a9695 100644
--- a/spec/integration/js/yarn_spec.rb
+++ b/spec/integration/js/yarn_spec.rb
@@ -11,7 +11,7 @@ RSpec.describe "yarn" do
runner.add_file("yarn.lock", fixture_file_content('js/yarn/single-declared-dependency/yarn.lock'))
end
- specify { expect(subject).to match_schema(version: '2.0') }
+ specify { expect(subject).to match_schema }
specify do
[
@@ -182,7 +182,7 @@ lodash@4.17.10:
end
end
- specify { expect(subject).to match_schema(version: '2.0') }
+ specify { expect(subject).to match_schema }
specify { expect(subject.dependency_names).to match_array(%w[lodash]) }
specify { expect(subject.licenses_for('lodash')).to match_array(['MIT']) }
end