Remove email observer specs

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2014-04-02 21:03:31 +03:00
parent 599344583b
commit 77c0a6db4b
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 0 additions and 17 deletions

View File

@ -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