mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
adding missing assertion and fixing the test
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user