Skip to content

Commit

Permalink
Fix failure introduced from rails#13488
Browse files Browse the repository at this point in the history
  • Loading branch information
schneems committed Dec 25, 2013
1 parent d0926d3 commit 2409c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/tasks/database_tasks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def test_creates_test_database_when_environment_is_database
def test_establishes_connection_for_the_given_environment
ActiveRecord::Tasks::DatabaseTasks.stubs(:create).returns true

ActiveRecord::Base.expects(:establish_connection).with('development')
ActiveRecord::Base.expects(:establish_connection).with(:development)

ActiveRecord::Tasks::DatabaseTasks.create_current(
ActiveSupport::StringInquirer.new('development')
Expand Down

0 comments on commit 2409c61

Please sign in to comment.