aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-25 16:38:49 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-25 16:38:49 -0800
commitc99d969160302a849cfb8d3d6d0604a50b86fadd (patch)
treecf1f9cdacf5603c467eacc1f375ae23631bf7a92 /activerecord/test/cases
parentd80ad96b9526178c1474204b73f9fbde4cb7728f (diff)
parent2409c61661f0b1c4f946a99c215cc4b4635c0cd6 (diff)
downloadrails-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.rb2
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')