Commit 77c0a6db4baac1bd91e3636b32b3ffa9d0373211
1 parent
59934458
Exists in
spb-stable
and in
3 other branches
Remove email observer specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
0 additions
and
17 deletions
Show diff stats
spec/observers/email_observer_spec.rb
| ... | ... | @@ -1,17 +0,0 @@ |
| 1 | -require 'spec_helper' | |
| 2 | - | |
| 3 | -describe EmailObserver do | |
| 4 | - let(:email) { create(:email) } | |
| 5 | - | |
| 6 | - before { subject.stub(notification: double('NotificationService').as_null_object) } | |
| 7 | - | |
| 8 | - subject { EmailObserver.instance } | |
| 9 | - | |
| 10 | - describe '#after_create' do | |
| 11 | - it 'trigger notification to send emails' do | |
| 12 | - subject.should_receive(:notification) | |
| 13 | - | |
| 14 | - subject.after_create(email) | |
| 15 | - end | |
| 16 | - end | |
| 17 | -end |