diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-12-25 16:38:49 -0800 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-12-25 16:38:49 -0800 |
commit | c99d969160302a849cfb8d3d6d0604a50b86fadd (patch) | |
tree | cf1f9cdacf5603c467eacc1f375ae23631bf7a92 /activerecord/test/cases | |
parent | d80ad96b9526178c1474204b73f9fbde4cb7728f (diff) | |
parent | 2409c61661f0b1c4f946a99c215cc4b4635c0cd6 (diff) | |
download | rails-c99d969160302a849cfb8d3d6d0604a50b86fadd.tar.gz rails-c99d969160302a849cfb8d3d6d0604a50b86fadd.tar.bz2 rails-c99d969160302a849cfb8d3d6d0604a50b86fadd.zip |
Merge pull request #13485 from schneems/schneems/fix-more-railties-tests
Partial fix of database url tests
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/tasks/database_tasks_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/tasks/database_tasks_test.rb b/activerecord/test/cases/tasks/database_tasks_test.rb index a9a114328c..3257b782a9 100644 --- a/activerecord/test/cases/tasks/database_tasks_test.rb +++ b/activerecord/test/cases/tasks/database_tasks_test.rb @@ -143,7 +143,7 @@ module ActiveRecord 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') |