Commit ecf8756faa9500c6d6178a872044cf099431ffea
Committed by
Victor Costa
1 parent
fe3b003a
Exists in
theme-brasil-digital-from-staging
and in
4 other branches
test/unit/person_notifier_test: state expected exception type
Fixes that unit test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/unit/person_notifier_test.rb
... | ... | @@ -159,7 +159,7 @@ class PersonNotifierTest < ActiveSupport::TestCase |
159 | 159 | Comment.create!(:author => @admin, :title => 'test comment', :body => 'body!', :source => @article) |
160 | 160 | ActionTracker::Record.any_instance.stubs(:verb).returns("some_invalid_verb") |
161 | 161 | process_delayed_job_queue |
162 | - assert_raise do | |
162 | + assert_raise ActionView::Template::Error do | |
163 | 163 | notify |
164 | 164 | end |
165 | 165 | end | ... | ... |