diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-02 21:03:31 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-04-02 21:03:31 +0300 |
commit | 77c0a6db4baac1bd91e3636b32b3ffa9d0373211 (patch) | |
tree | 201cdb0981e6678a0dc1d87ac43a6d7442bc06bb | |
parent | 599344583bcf57eff46b36d68e6536188d41c906 (diff) | |
download | gitlab-ce-77c0a6db4baac1bd91e3636b32b3ffa9d0373211.tar.gz |
Remove email observer specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | spec/observers/email_observer_spec.rb | 17 |
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 |