Permalink
Browse files

Fixing build for not checking migration

  • Loading branch information...
arunagw committed Jun 5, 2013
1 parent 17624a0 commit e27262493dace20ba3616c81f710593f845a6d21
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/test/application/configuration_test.rb
@@ -62,6 +62,7 @@ def teardown
require "#{app_path}/config/environment"
ActiveRecord::Migrator.stubs(:needs_migration?).returns(true)
+ ActiveRecord::NullMigration.any_instance.stubs(:mtime).returns(1)
get "/foo"
assert_equal 500, last_response.status

0 comments on commit e272624

Please sign in to comment.