Skip to content

Commit

Permalink
Use a path: plugin source for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Nov 10, 2023
1 parent 4714ea1 commit 3ab0ead
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/bootboot_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,7 @@ def write_gemfile(content = nil)
end

def plugin
branch = %x(git rev-parse --abbrev-ref HEAD).strip

"plugin 'bootboot', git: '#{Bundler.root}', branch: '#{branch}'"
"plugin 'bootboot', path: '#{Bundler.root}'"
end

class BundleInstallError < StandardError; end
Expand Down

0 comments on commit 3ab0ead

Please sign in to comment.