aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-05-27 11:12:44 -0700
committerSean Griffin <sean@thoughtbot.com>2014-05-27 11:12:44 -0700
commit61ef04cec0bfa1465747278f80f387dbd83588fc (patch)
tree47120c6a0ec5230af721d110dd62612ad6add6db /activerecord/test/cases
parent52434e9a512477d632b492793bcae5b4732ea689 (diff)
downloadrails-61ef04cec0bfa1465747278f80f387dbd83588fc.tar.gz
rails-61ef04cec0bfa1465747278f80f387dbd83588fc.tar.bz2
rails-61ef04cec0bfa1465747278f80f387dbd83588fc.zip
Silence deprecation warning in test
Missed a case that only occured for mysql/mysql2
Diffstat (limited to 'activerecord/test/cases')
-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