Sha256: da1f43c2bfdb22ecd24136598176ca38a7be1d4141a9f0de5f1d603d29f0e36b

Contents?: true

Size: 576 Bytes

Versions: 3

Compression:

Stored size: 576 Bytes

Contents

require 'spec_helper'

describe Mailboxer::Models::Messageable do
  let(:entity1) { FactoryGirl.create(:user) }
  let(:entity2) { FactoryGirl.create(:user) }
  let(:attachments) { [{ :file => File.open('spec/testfile.txt') }, { :file => File.open('spec/testfile.txt') }] }

  describe "#send_message_mult_attach" do
    it "should respond" do
      expect(entity1).to respond_to(:send_message_mult_attach)
    end
  end
  describe "#reply_to_sender_mult_attach" do
    it "should respond" do
      expect(entity1).to respond_to(:reply_to_sender_mult_attach)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailboxer_multi_attach-0.0.6 spec/models/messageable_spec.rb
mailboxer_multi_attach-0.0.5 spec/models/messageable_spec.rb
mailboxer_multi_attach-0.0.4 spec/models/messageable_spec.rb