diff options
| author | mo khan <mo.khan@gmail.com> | 2020-02-24 09:59:15 -0700 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-02-24 16:41:50 -0700 |
| commit | 39afdc40296871d9f7c1732ff3f7e1e3b7b28bbe (patch) | |
| tree | 8f547ce1077b89c732411fc28c4a9efa6730ceca /spec/support/matchers.rb | |
| parent | 525d7cb9a30bb14306d6a00919dc25313c632b64 (diff) | |
Exclude development/test dependenciesv2.5.2
* Remove develoment and test dependencies from java-maven fixtures
* Ensure that ruby projects with bundler 2.0 are scannable
* Update CHANGELOG
* Assign @errors ivar for error message
* Remove --cache-from
* Use default ruby and install bundler conservatively
* Install gems to local path
* Add --no-prepare when gems are installed
* Print ruby, rubygems and bundler version
Diffstat (limited to 'spec/support/matchers.rb')
| -rw-r--r-- | spec/support/matchers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index 12bbdf7..595cd17 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -3,7 +3,7 @@ RSpec::Matchers.define :match_schema do |version: '2.0'| License::Management.root.join("spec/fixtures/schema/v#{version}.json").to_s end match do |actual| - !actual.nil? && JSON::Validator.fully_validate(schema_for(version), actual).empty? + !actual.nil? && (@errors = JSON::Validator.fully_validate(schema_for(version), actual)).empty? end failure_message do |response| |
