From 77c0a6db4baac1bd91e3636b32b3ffa9d0373211 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Wed, 2 Apr 2014 21:03:31 +0300 Subject: Remove email observer specs Signed-off-by: Dmitriy Zaporozhets --- spec/observers/email_observer_spec.rb | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 spec/observers/email_observer_spec.rb (limited to 'spec') diff --git a/spec/observers/email_observer_spec.rb b/spec/observers/email_observer_spec.rb deleted file mode 100644 index 599b9a6ffba..00000000000 --- a/spec/observers/email_observer_spec.rb +++ /dev/null @@ -1,17 +0,0 @@ -require 'spec_helper' - -describe EmailObserver do - let(:email) { create(:email) } - - before { subject.stub(notification: double('NotificationService').as_null_object) } - - subject { EmailObserver.instance } - - describe '#after_create' do - it 'trigger notification to send emails' do - subject.should_receive(:notification) - - subject.after_create(email) - end - end -end -- cgit v1.2.1