Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10851 from arunagw/fixing_build_pending_migration

Fixing build for not checking migration
  • Loading branch information...
commit 4267739d6422515d9eba2b595188d1bbda8df100 1 parent d13c07d
@tenderlove tenderlove authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  railties/test/application/configuration_test.rb
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.