diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-07 07:09:45 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-07 07:20:25 -0600 |
commit | 3fab9d8821bc73b28a76f27353cab34d49096ad2 (patch) | |
tree | 9b42b8abf13648468e7197419edc9ec9678c1e30 /activerecord/test/cases/base_test.rb | |
parent | 23a751c2e15800c1b4aa96c10d1bfebc56fa30b9 (diff) | |
download | rails-3fab9d8821bc73b28a76f27353cab34d49096ad2.tar.gz rails-3fab9d8821bc73b28a76f27353cab34d49096ad2.tar.bz2 rails-3fab9d8821bc73b28a76f27353cab34d49096ad2.zip |
Rename `property` to `attribute`
For consistency with https://github.com/rails/rails/pull/15557
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
-rw-r--r-- | activerecord/test/cases/base_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb index f01901514e..fad51f4924 100644 --- a/activerecord/test/cases/base_test.rb +++ b/activerecord/test/cases/base_test.rb @@ -985,9 +985,9 @@ class BasicsTest < ActiveRecord::TestCase class NumericData < ActiveRecord::Base self.table_name = 'numeric_data' - property :world_population, Type::Integer.new - property :my_house_population, Type::Integer.new - property :atoms_in_universe, Type::Integer.new + attribute :world_population, Type::Integer.new + attribute :my_house_population, Type::Integer.new + attribute :atoms_in_universe, Type::Integer.new end def test_big_decimal_conditions |