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

Require "active_support/core_ext/object/blank" for railties abstract unit #25390

Merged

Conversation

gsamokovarov
Copy link
Contributor

In #25380 I removed an active_support/core_ext/object/blank require in the
activesupport/lib/active_support/testing/assertions.rb, however it caused a
chain reaction, resulting in failing railties tests. Moving the require to
railties/test/isolation/abstract_unit.rb solves the problem and keeps the
require close to where it is used.

@rails-bot
Copy link

r? @pixeltrix

(@rails-bot has picked a reviewer for you, use r? to override)

@gsamokovarov gsamokovarov force-pushed the abstact-unit-presence-require branch from 4ab3964 to ec41f61 Compare June 13, 2016 16:06
@@ -1,5 +1,6 @@
ORIG_ARGV = ARGV.dup

require 'active_support/core_ext/object/blank'
Copy link
Member

Choose a reason for hiding this comment

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

I already fixed this one. Could you remove it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure.

…unit

In rails#25380 I moved an `active_support/core_ext/object/blank` in the
`activesupport/lib/active_support/testing/assertions.rb`, however it caused a
chain reaction, resulting in failing railties tests.

Moving the require to `railties/test/isolation/abstract_unit.rb` and
`activesupport/test/abstract_unit.rb`.
@gsamokovarov gsamokovarov force-pushed the abstact-unit-presence-require branch from ec41f61 to 4b80a96 Compare June 13, 2016 16:09
@rafaelfranca rafaelfranca merged commit 3ff1cfe into rails:master Jun 13, 2016
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.

None yet

5 participants