Commit 3da8f8c09d899395adffb28ee8b5333e96963a43
1 parent
3371aaf9
Exists in
master
and in
29 other branches
Remove useless/broken test
Showing
1 changed file
with
0 additions
and
7 deletions
Show diff stats
test/unit/mailing_test.rb
@@ -92,11 +92,4 @@ class MailingTest < ActiveSupport::TestCase | @@ -92,11 +92,4 @@ class MailingTest < ActiveSupport::TestCase | ||
92 | environment.domains << Domain.create(:name => 'noosfero.net', :is_default => true) | 92 | environment.domains << Domain.create(:name => 'noosfero.net', :is_default => true) |
93 | assert_equal '', mailing.url | 93 | assert_equal '', mailing.url |
94 | end | 94 | end |
95 | - | ||
96 | - should 'deliver mailing to each recipient after create' do | ||
97 | - person = Person['user_one'] | ||
98 | - mailing = Mailing.create(:source => environment, :subject => 'Hello', :body => 'We have some news', :person => person) | ||
99 | - process_delayed_job_queue | ||
100 | - assert_equal [], ActionMailer::Base.deliveries | ||
101 | - end | ||
102 | end | 95 | end |