Skip to content

Commit

Permalink
Merge pull request #3392 from dependabot/feelepxyz/convert-git-source…
Browse files Browse the repository at this point in the history
…-remover

Use project fixtures for GitSourceRemover
  • Loading branch information
feelepxyz authored Mar 29, 2021
2 parents 4800f2c + f91342d commit a255156
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
describe "#rewrite" do
subject(:rewrite) { remover.rewrite(content) }

let(:content) { fixture("ruby", "gemfiles", "git_source") }
let(:content) do
bundler_project_dependency_file("git_source", filename: "Gemfile").content
end

context "with a dependency that specifies a ref" do
let(:dependency_name) { "business" }
Expand Down

0 comments on commit a255156

Please sign in to comment.