module ArQueryMatchers::ArQueryMatchers::MatcherConfiguration
Shared methods that are included in the matchers. They configure it and ensure we get consistent and human readable error messages
Public Class Methods
included(base)
click to toggle source
# File lib/ar_query_matchers.rb, line 188 def self.included(base) if base.respond_to?(:failure_message) base.failure_message do |_actual| failure_text end else base.failure_message_for_should do |_actual| failure_text end end end
Public Instance Methods
supports_block_expectations?()
click to toggle source
# File lib/ar_query_matchers.rb, line 200 def supports_block_expectations? true end