# File lib/shoulda/assertions.rb, line 48
48:     def assert_accepts(matcher, target, options = {})
49:       if matcher.matches?(target)
50:         assert_block { true }
51:         if options[:message]
52:           assert_match options[:message], matcher.negative_failure_message
53:         end
54:       else
55:         assert_block(matcher.failure_message) { false }
56:       end
57:     end