fix failing railties test
This commit is contained in:
parent
926844e869
commit
725928854d
|
@ -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
|
Loading…
Reference in New Issue