Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use project fixtures for FileUpdater specs #3400

Merged
merged 2 commits into from
Mar 30, 2021

Conversation

brrygrdn
Copy link
Contributor

Breaks out from #3350

@brrygrdn brrygrdn requested a review from a team as a code owner March 29, 2021 16:01
@@ -27,6 +27,10 @@ def bundler_project_dependency_file(project, filename:)
dependency_file
end

def bundler_build_tmp_repo(project)
build_tmp_repo(project, path: "projects/bundler1")
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is hard-coded to bundler1, it'll switch based on the suite name in #3350

let(:gemfile_body) { fixture("ruby", "gemfiles", gemfile_fixture_name) }
let(:lockfile_body) { fixture("ruby", "lockfiles", lockfile_fixture_name) }
let(:gemfile_fixture_name) { "Gemfile" }
let(:lockfile_fixture_name) { "Gemfile.lock" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥

Copy link
Contributor

@feelepxyz feelepxyz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@brrygrdn brrygrdn force-pushed the brrygrdn/file_updater_proj_fixtures branch from 299f679 to fb81286 Compare March 29, 2021 17:06
@brrygrdn brrygrdn enabled auto-merge March 29, 2021 17:12
@brrygrdn brrygrdn merged commit cc43a9c into main Mar 30, 2021
@brrygrdn brrygrdn deleted the brrygrdn/file_updater_proj_fixtures branch March 30, 2021 10:32
@feelepxyz
Copy link
Contributor

🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants