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

Add specs to request variables branch #1052

Merged
merged 3 commits into from Feb 26, 2018
Merged

Add specs to request variables branch #1052

merged 3 commits into from Feb 26, 2018

Conversation

alexevanczuk
Copy link
Contributor

@jaredbeck

Added specs that I asked you to add in the original PR, let me know what you think and if I can merge it into your branch.

@alexevanczuk alexevanczuk changed the base branch from master to request_variables February 25, 2018 01:27
@@ -4,6 +4,7 @@
.idea
.rbenv-gemsets
.rbenv-version
.rspec_results
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this so I could use --next-failure and --only-failures when running rspec, which I use a lot.

Copy link
Member

Choose a reason for hiding this comment

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

Nice. I use --only-failures on other projects, but I didn't know about --next-failure 👍 Thanks

@@ -10,6 +10,8 @@
end

RSpec.configure do |config|
config.example_status_persistence_file_path = '.rspec_results'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added this so I could use --next-failure and --only-failures when running rspec, which I use a lot.

@jaredbeck
Copy link
Member

This looks great, Alex, thanks!

I don't normally bother testing delegation of deprecated methods, but I'm happy to have the tests. Later this year, when we remove the deprecated methods, the test will be easy to remove.

I also usually avoid shared_examples, because they are usually in separate files, which makes them harder to follow, but you have used it in the same file and it is relatively self-contained.

However, these are very minor points, and I really appreciate you adding these tests, thanks.

@jaredbeck jaredbeck merged commit 8a79be3 into paper-trail-gem:request_variables Feb 26, 2018
@alexevanczuk
Copy link
Contributor Author

Sure thing!

jaredbeck pushed a commit that referenced this pull request Feb 27, 2018
jaredbeck pushed a commit that referenced this pull request Feb 27, 2018
jaredbeck pushed a commit that referenced this pull request Feb 27, 2018
westonganger pushed a commit to westonganger/paper_trail that referenced this pull request May 18, 2018
aried3r pushed a commit to aried3r/paper_trail that referenced this pull request Dec 14, 2020
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.

None yet

2 participants