diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2019-03-19 21:17:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-19 21:17:02 -0400 |
commit | 3dee96e92b08edafa2a7be6964b0596bb738f709 (patch) | |
tree | 3466be4920bc55d770514c7d4996e032a110095b /activerecord/test/cases | |
parent | b504a5d96e0ec30856a3fc54305550f3586002aa (diff) | |
parent | 8ca3c286a768038f6b391fd3bfbdfcc299876a1f (diff) | |
download | rails-3dee96e92b08edafa2a7be6964b0596bb738f709.tar.gz rails-3dee96e92b08edafa2a7be6964b0596bb738f709.tar.bz2 rails-3dee96e92b08edafa2a7be6964b0596bb738f709.zip |
Merge pull request #35595 from shioyama/generated_attribute_methods_namespaced_constant
Give GeneratedAttributeMethods module a name
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/attribute_methods_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_methods_test.rb b/activerecord/test/cases/attribute_methods_test.rb index f51c87ef2b..9fd62dcf72 100644 --- a/activerecord/test/cases/attribute_methods_test.rb +++ b/activerecord/test/cases/attribute_methods_test.rb @@ -1083,7 +1083,7 @@ class AttributeMethodsTest < ActiveRecord::TestCase test "generated attribute methods ancestors have correct class" do mod = Topic.send(:generated_attribute_methods) - assert_match %r(GeneratedAttributeMethods), mod.inspect + assert_match %r(Topic::GeneratedAttributeMethods), mod.inspect end private |