summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/observers/email_observer_spec.rb17
1 files changed, 0 insertions, 17 deletions
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