Module: Professionalnerd::SimplePrivateMessages::Shoulda::Matchers

Defined in:
lib/simple-private-messages/matchers/be_private_message_matcher.rb,
lib/simple-private-messages/matchers/have_private_messages_matcher.rb

Overview

:nodoc:

Defined Under Namespace

Classes: BePrivateMessage, HavePrivateMessagesMatcher

Instance Method Summary (collapse)

Instance Method Details

- (Object) be_private_message



6
7
8
# File 'lib/simple-private-messages/matchers/be_private_message_matcher.rb', line 6

def be_private_message
  BePrivateMessage.new
end

- (Object) have_private_messages



6
7
8
# File 'lib/simple-private-messages/matchers/have_private_messages_matcher.rb', line 6

def have_private_messages
  HavePrivateMessagesMatcher.new
end