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

Fix test cases for inflector.rb #15316

Merged
merged 1 commit into from
May 26, 2014
Merged

Conversation

akshay-vishnoi
Copy link
Contributor

yield was missing in with_dup, due to which 57 assertions were not running in real, and all tests were passing by default.

Error was introduced in commit - 31ceb5e.

# Test case result for inflector.rb
#  before
    445 runs, 1160 assertions, 0 failures, 0 errors, 0 skips
#  after
    445 runs, 1217 assertions, 0 failures, 0 errors, 0 skips

`yield` was missing in #with_dup, due to which 57 assertions were not running
in real, and all tests were passing by default.
Error was introduced in commit - 31ceb5e.
@akshay-vishnoi
Copy link
Contributor Author

cc: @fxn, @rafaelfranca

@senny senny merged commit 93c193e into rails:master May 26, 2014
senny added a commit that referenced this pull request May 26, 2014
@senny
Copy link
Member

senny commented May 26, 2014

@akshay-vishnoi good catch! I updated the code to use Ruby 1.9 Hash syntax.

@akshay-vishnoi
Copy link
Contributor Author

Oops I forgot. Thanks by the way. 👍

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