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