summaryrefslogtreecommitdiff
path: root/spec/integration/go/modules_spec.rb
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-05-25 11:01:03 -0600
committermo khan <mo.khan@gmail.com>2020-05-26 19:33:44 -0600
commit80fa34dd2bd72af88efcb85844302d04450a0e1e (patch)
tree2a5ba8dfc9bdb61c58633373be122ae2f83df1e7 /spec/integration/go/modules_spec.rb
parentbff873a938de126d2b79e799df325f3d5c31295b (diff)
Scan Conan projects
* Scan the conan examples project * Split licenses by comma * Add integration test job for c projects * Add package_manager, version and path to v2.1 report * Detect collisions between names from different package managers * Add CHANGELOG entry * Update README to indicate Conan support * Print timestamps in install script
Diffstat (limited to 'spec/integration/go/modules_spec.rb')
-rw-r--r--spec/integration/go/modules_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/go/modules_spec.rb b/spec/integration/go/modules_spec.rb
index d8e4e48..66dadb0 100644
--- a/spec/integration/go/modules_spec.rb
+++ b/spec/integration/go/modules_spec.rb
@@ -14,7 +14,7 @@ RSpec.describe "modules" do
runner.add_file('.tool-versions', "golang #{version}")
end
- specify { expect(subject).to match_schema(version: '2.0') }
+ specify { expect(subject).to match_schema }
specify { expect(subject[:licenses]).not_to be_empty }
specify do
@@ -51,7 +51,7 @@ RSpec.describe "modules" do
runner.clone('https://gitlab.com/gitlab-org/gitaly.git')
end
- specify { expect(subject).to match_schema(version: '2.0') }
+ specify { expect(subject).to match_schema }
specify { expect(subject[:licenses]).not_to be_empty }
specify { expect(subject[:dependencies]).not_to be_empty }
end