diff --git a/bundler/spec/dependabot/bundler/file_updater/git_source_remover_spec.rb b/bundler/spec/dependabot/bundler/file_updater/git_source_remover_spec.rb index 2ef07dee0d..83764e89f5 100644 --- a/bundler/spec/dependabot/bundler/file_updater/git_source_remover_spec.rb +++ b/bundler/spec/dependabot/bundler/file_updater/git_source_remover_spec.rb @@ -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" }