Skip to content

Commit

Permalink
[FIXED] Break dependency of specs on released license_finder gem
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Mar 25, 2020
1 parent 8b9b34b commit ef69fa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/features/report/composite_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion features/support/testing_dsl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef69fa0

Please sign in to comment.