Commit cf8721e938912210d527942188e527489832c1bd

Authored by Antonio Terceiro
1 parent c48a83f6

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
... ...