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