Skip to content

Spec improvements#3742

Merged
deivid-rodriguez merged 2 commits intomasterfrom
spec_improvements
Jun 20, 2020
Merged

Spec improvements#3742
deivid-rodriguez merged 2 commits intomasterfrom
spec_improvements

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

@deivid-rodriguez deivid-rodriguez commented Jun 20, 2020

Description:

This PR adds a couple of improvements in bundler specs:

  • Merge the install_gems and system_gems helpers.
  • Allow passing a target path to realworld_system_gems, which is needed for the spec to be added in Fix RuboCop offenses #3740.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

The `install_gems` helper was only used three times outside of
`system_gems`, and these helpers were essentially doing the same thing.

Besides that, there's another helper at `spec/support/rubygems_ext.rb`
called `install_gems`, making things confusing and brittle.
@deivid-rodriguez deivid-rodriguez mentioned this pull request Jun 20, 2020
4 tasks
@deivid-rodriguez deivid-rodriguez merged commit 725020a into master Jun 20, 2020
@deivid-rodriguez deivid-rodriguez deleted the spec_improvements branch June 20, 2020 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants