Skip to content

Commit

Permalink
Fix wrong variable on tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
smartinez87 committed Aug 7, 2011
1 parent 61e77a1 commit 9f5cebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/background_exception_notification_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class BackgroundExceptionNotificationTest < ActiveSupport::TestCase
rescue => e
@ignored_exception = e
unless ExceptionNotifier.default_ignore_exceptions.include?(@ignored_exception.class)
@ignored_mail = ExceptionNotifier::Notifier.background_exception_notification(@exception)
@ignored_mail = ExceptionNotifier::Notifier.background_exception_notification(@ignored_exception)
end
end

Expand Down
2 changes: 1 addition & 1 deletion test/dummy/test/functional/posts_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class PostsControllerTest < ActionController::TestCase
rescue => e
@ignored_exception = e
unless ExceptionNotifier.default_ignore_exceptions.include?(@ignored_exception.class)
@ignored_mail = ExceptionNotifier::Notifier.exception_notification(request.env, @exception)
@ignored_mail = ExceptionNotifier::Notifier.exception_notification(request.env, @ignored_exception)
end
end

Expand Down

0 comments on commit 9f5cebd

Please sign in to comment.