Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Simplify deprecation specs#7105

Merged
5 commits merged intomasterfrom
simplify_deprecation_specs
Apr 8, 2019
Merged

Simplify deprecation specs#7105
5 commits merged intomasterfrom
simplify_deprecation_specs

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

What was the end-user problem that led to this PR?

The problem was deprecation specs have become convoluted. The spawn many unnecessary subprocesses and do unnecessary work, and have complicated and redundant descriptions.

What is your fix for the problem, implemented in this PR?

My fix is to reduce the nesting level of the specs, simplify descriptions, and refactor test setups so that each test only runs the bare minimum that it needs.

They not all need to create & install a Gemfile, so let's do only what's
needed. Also the spec descriptions are simpler when no so deeply nested.
For consistency with other specs.
@deivid-rodriguez
Copy link
Copy Markdown
Contributor Author

@bundlerbot r+

ghost pushed a commit that referenced this pull request Apr 8, 2019
7105: Simplify deprecation specs r=deivid-rodriguez a=deivid-rodriguez

### What was the end-user problem that led to this PR?

The problem was deprecation specs have become convoluted. The spawn many unnecessary subprocesses and do unnecessary work, and have complicated and redundant descriptions.

### What is your fix for the problem, implemented in this PR?

My fix is to reduce the nesting level of the specs, simplify descriptions, and refactor test setups so that each test only runs the bare minimum that it needs.

Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
@ghost
Copy link
Copy Markdown

ghost commented Apr 8, 2019

Build succeeded

@ghost ghost merged commit 4ca104a into master Apr 8, 2019
@ghost ghost deleted the simplify_deprecation_specs branch April 8, 2019 08:53
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant