Sha256: cc65e0c621fe5968a24cfb8e0ee5cd0b8762d36444da612e55da5d22ba37ad7d
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
module RSpec class RubyContentMatcher attr_reader :content def matches?(content) @content = content end def failure_message debug_content end def negative_failure_message debug_content end def debug_content puts "Content: #{content}" if RSpec::Generator.debug? end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
generator-spec-0.4.5 | lib/generator_spec/matchers/content/content_matcher.rb |
generator-spec-0.4.4 | lib/generator_spec/matchers/content/content_matcher.rb |