aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-27 15:16:10 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-27 15:16:10 -0300
commitd5c315d8d4a34b13553884a96d880c021608dcbd (patch)
treee981f4c49abf824fc6aeab9287b76164b03ce0c3 /activerecord
parent086ee1cc1312d4679e32b6dc8e343548891af4fa (diff)
parent61ef04cec0bfa1465747278f80f387dbd83588fc (diff)
downloadrails-d5c315d8d4a34b13553884a96d880c021608dcbd.tar.gz
rails-d5c315d8d4a34b13553884a96d880c021608dcbd.tar.bz2
rails-d5c315d8d4a34b13553884a96d880c021608dcbd.zip
Merge pull request #15371 from sgrif/sg-silence-deprecation-warning
Silence deprecation warning in test
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/migration_test.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index 46f43f60ac..aa679d4a35 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -12,6 +12,9 @@ require MIGRATIONS_ROOT + "/rename/2_rename_things"
require MIGRATIONS_ROOT + "/decimal/1_give_me_big_numbers"
class BigNumber < ActiveRecord::Base
+ unless current_adapter?(:PostgreSQLAdapter, :SQLite3Adapter)
+ property :value_of_e, Type::Integer.new
+ end
property :world_population, Type::Integer.new
property :my_house_population, Type::Integer.new
end