Sha256: d16837d1c7f71286eceacbad384d2970c188473c622f72161ee513f5ab8f298c
Contents?: true
Size: 387 Bytes
Versions: 16
Compression:
Stored size: 387 Bytes
Contents
describe Sufia::BatchCreateFailureService do let(:depositor) { create(:user) } let(:inbox) { depositor.mailbox.inbox } describe "#call" do subject { described_class.new(depositor) } it "sends failing mail" do subject.call expect(inbox.count).to eq(1) inbox.each { |msg| expect(msg.last_message.subject).to eq('Failing batch create') } end end end
Version data entries
16 entries across 16 versions & 1 rubygems