Permalink
Browse files

Merge pull request #10851 from arunagw/fixing_build_pending_migration

Fixing build for not checking migration
  • Loading branch information...
tenderlove committed Jun 5, 2013
1 parent fa94695 commit 9b3d4d2df8a452cf1432886f96892045079cd010
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 9b3d4d2

Please sign in to comment.