diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-10 14:25:16 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-11-10 14:28:02 +0900 |
commit | c59ab795eee288d0a8d6842d2115d14f58f7badd (patch) | |
tree | 29433bf355dedc3296ac98625434b91cf5e66f6b /activesupport/lib/active_support/deprecation/method_wrappers.rb | |
parent | 8c7967c9b916fe625e7ce10591b101abde3be4f5 (diff) | |
download | rails-c59ab795eee288d0a8d6842d2115d14f58f7badd.tar.gz rails-c59ab795eee288d0a8d6842d2115d14f58f7badd.tar.bz2 rails-c59ab795eee288d0a8d6842d2115d14f58f7badd.zip |
Add missing requires
Currently, executing the test with only `attribute_set_test.rb` results in an error.
```
./bin/test -w test/cases/attribute_set_test.rb
Run options: --seed 33470
# Running:
E
Error:
ActiveModel::AttributeSetTest#test_#map_returns_a_new_attribute_set_with_the_changes_applied:
NameError: uninitialized constant ActiveModel::AttributeSetTest::AttributeSet
Did you mean? ActiveModel::Attributes
ActiveModel::Attribute
activemodel/test/cases/attribute_set_test.rb:235:in `block in <class:AttributeSetTest>'
bin/test test/cases/attribute_set_test.rb:234
```
Added a missing require to fix this.
Also, I suspect that this is the cause of failures in CI.
Ref: https://travis-ci.org/rails/rails/jobs/299994708
Diffstat (limited to 'activesupport/lib/active_support/deprecation/method_wrappers.rb')
0 files changed, 0 insertions, 0 deletions