Permalink
Browse files

Fix failure introduced from #13488

  • Loading branch information...
1 parent d0926d3 commit 2409c61661f0b1c4f946a99c215cc4b4635c0cd6 @schneems schneems committed Dec 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/tasks/database_tasks_test.rb
@@ -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')

0 comments on commit 2409c61

Please sign in to comment.