aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/migrator_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migrator_test.rb b/activerecord/test/cases/migrator_test.rb
index f7ef5f92d9..01343b84c4 100644
--- a/activerecord/test/cases/migrator_test.rb
+++ b/activerecord/test/cases/migrator_test.rb
@@ -274,7 +274,7 @@ module ActiveRecord
def sensors(count)
calls = []
- migrations = 3.times.map { |i|
+ migrations = count.times.map { |i|
m(nil, i) { |c,migration|
calls << [c, migration.version]
}