projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82ac68a
)
More cleanup after tests.
author
Matt Amos
<zerebubuth@gmail.com>
Mon, 22 Aug 2016 18:05:11 +0000
(19:05 +0100)
committer
Matt Amos
<zerebubuth@gmail.com>
Mon, 22 Aug 2016 18:05:11 +0000
(19:05 +0100)
test/controllers/issues_controller_test.rb
patch
|
blob
|
history
diff --git
a/test/controllers/issues_controller_test.rb
b/test/controllers/issues_controller_test.rb
index 1696df4981e5161eb6bcbb7b0d87535862429ff5..9cf68c8691f2f5df5651d64602a7c21173646bb1 100644
(file)
--- a/
test/controllers/issues_controller_test.rb
+++ b/
test/controllers/issues_controller_test.rb
@@
-3,6
+3,11
@@
require "test_helper"
class IssuesControllerTest < ActionController::TestCase
fixtures :users, :user_roles, :issues
+ teardown do
+ # cleanup any emails set off by the test
+ ActionMailer::Base.deliveries.clear
+ end
+
def test_view_dashboard_without_auth
# Access issues_path without login
get :index