spec/spec_helper.rb in catarse_monkeymail-0.1.3 vs spec/spec_helper.rb in catarse_monkeymail-0.1.4
- old
+ new
@@ -83,17 +83,13 @@
# Stubs and configuration
config.before(:each) do
CatarseMonkeymail::MailchimpApi.stub(:start)
- CatarseMailchimp::API.stub(:subscribe).and_return(true)
- CatarseMailchimp::API.stub(:unsubscribe).and_return(true)
Project.any_instance.stub(:store_image_url).and_return('http://www.store_image_url.com')
ProjectObserver.any_instance.stub(:after_create)
UserObserver.any_instance.stub(:after_create)
Project.any_instance.stub(:download_video_thumbnail)
- CatarseMailchimp::API.stub(:subscribe)
- CatarseMailchimp::API.stub(:unsubscribe)
Notification.stub(:notify)
Notification.stub(:notify_once)
Calendar.any_instance.stub(:fetch_events_from)
Blog.stub(:fetch_last_posts).and_return([])
CatarseSettings[:base_domain] = 'localhost'