Skip to content

Commit

Permalink
remove test for default behavior of controller / action names being i…
Browse files Browse the repository at this point in the history
…ncluded in email subject
  • Loading branch information
ImMatureTony committed Nov 17, 2016
1 parent 4ec6374 commit d3b0d4e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions test/dummy/test/functional/posts_controller_test.rb
Expand Up @@ -35,11 +35,7 @@ class PostsControllerTest < ActionController::TestCase
test "mail subject should have the proper prefix" do
assert_includes @mail.subject, "[Dummy ERROR]"
end

test "mail subject should have controller and action name by default" do
assert_includes @mail.subject, "posts#create"
end


test "mail subject should include descriptive error message" do
assert_includes @mail.subject, "(NoMethodError) \"undefined method `nw'"
end
Expand Down

0 comments on commit d3b0d4e

Please sign in to comment.