diff options
Diffstat (limited to 'spec/integration/js/bower_spec.rb')
| -rw-r--r-- | spec/integration/js/bower_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/integration/js/bower_spec.rb b/spec/integration/js/bower_spec.rb index e6d9012..5a4f72d 100644 --- a/spec/integration/js/bower_spec.rb +++ b/spec/integration/js/bower_spec.rb @@ -10,7 +10,7 @@ RSpec.describe "bower" do runner.add_file('bower.json', fixture_file_content('js/bower/bower.json')) end - specify { expect(subject).to match_schema(version: '2.0') } + specify { expect(subject).to match_schema } specify { expect(subject.dependency_names).to match_array(['cli', 'ev-emitter', 'example-project', 'fizzy-ui-utils', 'get-size', 'jquery', 'masonry-layout', 'matches-selector', 'outlayer', 'stimulus.umd']) } specify { expect(subject.licenses_for('cli')).to match_array(['Apache-2.0', 'BSD-3-Clause', 'ISC', 'MIT']) } specify { expect(subject.licenses_for('ev-emitter')).to match_array(['MIT']) } @@ -41,7 +41,7 @@ RSpec.describe "bower" do 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[js-bower lodash]) } specify { expect(subject.licenses_for('js-bower')).to match_array(['ISC']) } specify { expect(subject.licenses_for('lodash')).to match_array(['MIT']) } @@ -59,7 +59,7 @@ RSpec.describe "bower" do runner.clone(git_repo) end - specify { expect(subject).to match_schema(version: '2.0') } + specify { expect(subject).to match_schema } specify { expect(subject.dependency_names).not_to be_empty } end end |
