Remove mailchimp and add sendy

This commit is contained in:
2017-04-18 14:41:35 +02:00
parent c65513fd0a
commit cb1bf34588
12 changed files with 9 additions and 79 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ feature 'Support announcement' do
sleep 5 # Do a real sleep to have a real integration test
expect(ActionMailer::Base.deliveries.count).to eq 0
expect_any_instance_of(SupportersController).to receive(:mailchimp_registration).and_return(true)
expect_any_instance_of(SupportersController).to receive(:sendy_registraion).and_return(true)
expect { click_button 'Unterstützung zusichern' }.to change { Supporter.count }.by(1)
# expect(ActionMailer::Base.deliveries.count).to eq 1