diff --git a/updater/spec/dependabot/file_fetcher_command_spec.rb b/updater/spec/dependabot/file_fetcher_command_spec.rb index 41143a2f75..585325244d 100644 --- a/updater/spec/dependabot/file_fetcher_command_spec.rb +++ b/updater/spec/dependabot/file_fetcher_command_spec.rb @@ -31,6 +31,11 @@ JSON.parse(fixture("jobs/job_with_credentials.json")) end + after do + # The job definition in this context loads an experiment, so reset it + Dependabot::Experiments.reset! + end + it "fetches the files and writes the fetched files to output.json", vcr: true do expect(api_client).not_to receive(:mark_job_as_processed)