Commit ad152df4e7e929adca07a83e25fe586bfb9fffcc
1 parent
9a226174
Exists in
master
and in
29 other branches
Fixed broken test in invite_controller_test
Clear all jobs in setup method of invite_controller_test to avoid confusion in tests that look at delayed jobs.
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/functional/invite_controller_test.rb
@@ -7,6 +7,7 @@ class InviteControllerTest < ActionController::TestCase | @@ -7,6 +7,7 @@ class InviteControllerTest < ActionController::TestCase | ||
7 | @friend = create_user('thefriend').person | 7 | @friend = create_user('thefriend').person |
8 | @community = fast_create(Community) | 8 | @community = fast_create(Community) |
9 | login_as ('testuser') | 9 | login_as ('testuser') |
10 | + Delayed::Job.destroy_all | ||
10 | end | 11 | end |
11 | attr_accessor :profile, :friend, :community | 12 | attr_accessor :profile, :friend, :community |
12 | 13 |