Permalink
Browse files

actually use the variable I created. 💣 thanks @exviva

  • Loading branch information...
1 parent 15daa14 commit ccbd201936b2382fef12360f7fb8ad80756b8004 @tenderlove tenderlove committed Jan 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/migrator_test.rb
@@ -274,7 +274,7 @@ def m(name, version, &block)
def sensors(count)
calls = []
- migrations = 3.times.map { |i|
+ migrations = count.times.map { |i|
m(nil, i) { |c,migration|
calls << [c, migration.version]
}

0 comments on commit ccbd201

Please sign in to comment.