summaryrefslogtreecommitdiff
path: root/spec/integration
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-19 11:06:04 -0600
committermo khan <mo.khan@gmail.com>2020-05-19 11:06:04 -0600
commitea84a8f5badf153744486c51a75b1f492763fdfd (patch)
treea719f96141eb621b71baa23e6d0a86f0849053e7 /spec/integration
parent5e6cad59f389ea4c32eb760e7235e6f1ac6cdcc9 (diff)
Add bower dependencies and expected assertions
Diffstat (limited to 'spec/integration')
-rw-r--r--spec/integration/js/bower_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/js/bower_spec.rb b/spec/integration/js/bower_spec.rb
index d2fb682..68ab12d 100644
--- a/spec/integration/js/bower_spec.rb
+++ b/spec/integration/js/bower_spec.rb
@@ -9,5 +9,10 @@ RSpec.describe "bower" do
end
specify { expect(subject).to match_schema(version: '2.0') }
+ specify { expect(subject.dependency_names).to match_array(['cli', 'jquery', 'masonry-layout', 'stimulus.umd']) }
+ specify { expect(subject.licenses_for('cli')).to match_array(['Artistic-2.0']) }
+ specify { expect(subject.licenses_for('jquery')).to match_array(['MIT']) }
+ specify { expect(subject.licenses_for('masonry-layout')).to match_array(['MIT']) }
+ specify { expect(subject.licenses_for('stimulus.umd')).to match_array(['MIT']) }
end
end