diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/integration/js/bower_spec.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/spec/integration/js/bower_spec.rb b/spec/integration/js/bower_spec.rb index 720bdf8..d49353c 100644 --- a/spec/integration/js/bower_spec.rb +++ b/spec/integration/js/bower_spec.rb @@ -43,11 +43,13 @@ RSpec.describe "bower" do end end - specify { expect(subject).to match_schema } - specify { expect(subject.dependency_names).to match_array(%w[debug js-bower lodash]) } - specify { expect(subject.licenses_for('debug')).to match_array(['unknown']) } - specify { expect(subject.licenses_for('js-bower')).to match_array(['ISC']) } - specify { expect(subject.licenses_for('lodash')).to match_array(['MIT']) } + specify do + expect(subject).to match_schema + expect(subject.dependency_names).to match_array(%w[debug js-bower lodash]) + expect(subject.licenses_for('debug')).to match_array(['unknown']) + expect(subject.licenses_for('js-bower')).to match_array(['ISC']) + expect(subject.licenses_for('lodash')).to match_array(['MIT']) + end end [ |
