From ef69fa00deb7a8f8ebd74312afa9f130be2d9fda Mon Sep 17 00:00:00 2001 From: Matijs van Zuijlen Date: Wed, 25 Mar 2020 09:47:19 +0100 Subject: [PATCH] [FIXED] Break dependency of specs on released license_finder gem --- features/features/report/composite_spec.rb | 2 +- features/support/testing_dsl.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/features/report/composite_spec.rb b/features/features/report/composite_spec.rb index fa6bf4848..175851a78 100644 --- a/features/features/report/composite_spec.rb +++ b/features/features/report/composite_spec.rb @@ -24,6 +24,6 @@ project = LicenseFinder::TestingDSL::BundlerProject.create project.install developer.execute_command('license_finder report --recursive --format csv --columns name version install_path licenses') - expect(developer).to be_seeing_something_like(%r{toml,0.\d+.\d+,.*\/gems\/toml-0.\d+.\d+,MIT}) + expect(developer).to be_seeing_something_like(%r{tomlrb,1.\d+.\d+,.*\/gems\/tomlrb-1.\d+.\d+,MIT}) end end diff --git a/features/support/testing_dsl.rb b/features/support/testing_dsl.rb index 3a7aa9a95..3b67974ae 100644 --- a/features/support/testing_dsl.rb +++ b/features/support/testing_dsl.rb @@ -482,7 +482,7 @@ def add_dep class BundlerProject < Project def add_dep add_to_gemfile("source 'https://rubygems.org'") - add_to_gemfile("gem 'license_finder'") + add_to_gemfile("gem 'license_finder', path: #{Paths.root.to_s.inspect}") end def install