diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-12-01 12:12:57 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-12-01 12:12:57 -0600 |
commit | 725928854d4b6ff5dbafc2bbc95cfade243411a9 (patch) | |
tree | e6793af93c61a9db92444a403dc6bd24dd6bdd32 /railties/test | |
parent | 926844e869b747fa1e9474fd95f9b97fa04ae092 (diff) | |
download | rails-725928854d4b6ff5dbafc2bbc95cfade243411a9.tar.gz rails-725928854d4b6ff5dbafc2bbc95cfade243411a9.tar.bz2 rails-725928854d4b6ff5dbafc2bbc95cfade243411a9.zip |
fix failing railties test
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/initializer_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/initializer_test.rb b/railties/test/initializer_test.rb index 99f69a1575..dad9e55e61 100644 --- a/railties/test/initializer_test.rb +++ b/railties/test/initializer_test.rb @@ -314,10 +314,10 @@ end class RailsRootTest < Test::Unit::TestCase def test_rails_dot_root_equals_rails_root - assert_equal RAILS_ROOT, Rails.root + assert_equal RAILS_ROOT, Rails.root.to_s end def test_rails_dot_root_should_be_a_pathname - assert_equal File.join(RAILS_ROOT, 'app', 'controllers'), Rails.root.join('app', 'controllers') + assert_equal File.join(RAILS_ROOT, 'app', 'controllers'), Rails.root.join('app', 'controllers').to_s end end
\ No newline at end of file |