adding missing assertion and fixing the test

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Neeraj Singh
2010-06-24 14:25:36 -04:00
committed by José Valim
parent 0d2cebe338
commit 4e8ca7bc9a

View File

@@ -28,8 +28,10 @@ module ApplicationTests
RUBY
require "#{app_path}/config/environment"
ActionController::Base.view_paths.include?(File.expand_path("app/views", app_path))
ActionMailer::Base.view_paths.include?(File.expand_path("app/views", app_path))
expanded_path = File.expand_path("app/views", app_path)
assert_equal ActionController::Base.view_paths[0].to_s, expanded_path
assert_equal ActionMailer::Base.view_paths[0].to_s, expanded_path
end
test "allows me to configure default url options for ActionMailer" do