Sha256: f75895a0bf9506c5437d53a84213c05342e823df9113fad1922b3a07b0dfca08
Contents?: true
Size: 387 Bytes
Versions: 10
Compression:
Stored size: 387 Bytes
Contents
describe Hyrax::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
10 entries across 10 versions & 2 rubygems