Skip to content

Commit

Permalink
Merge pull request #10851 from arunagw/fixing_build_pending_migration
Browse files Browse the repository at this point in the history
Fixing build for not checking migration
  • Loading branch information
tenderlove committed Jun 5, 2013
1 parent d13c07d commit 4267739
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/test/application/configuration_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def teardown


require "#{app_path}/config/environment" require "#{app_path}/config/environment"
ActiveRecord::Migrator.stubs(:needs_migration?).returns(true) ActiveRecord::Migrator.stubs(:needs_migration?).returns(true)
ActiveRecord::NullMigration.any_instance.stubs(:mtime).returns(1)


get "/foo" get "/foo"
assert_equal 500, last_response.status assert_equal 500, last_response.status
Expand Down

0 comments on commit 4267739

Please sign in to comment.