Sha256: af03d64f1b9b23a26ccb94e9142f28b86ed1e06d968dde313005f52829437b89

Contents?: true

Size: 568 Bytes

Versions: 1

Compression:

Stored size: 568 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_conversation" do
    it "should respond" do
      expect(entity1).to respond_to(:reply_to_convo_mult_attach)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mailboxer_multi_attach-0.0.2 spec/models/messageable_spec.rb