Sha256: 6a1f6d1750e84ae3ab4e973fa820d1dab2b38c513c93ec98e6e3415f2949f371

Contents?: true

Size: 209 Bytes

Versions: 6

Compression:

Stored size: 209 Bytes

Contents

# frozen_string_literal: true

RSpec::Matchers.define :be_parsed_result_with do |front_matter, content|
  match do |result|
    result.front_matter == front_matter &&
      result.content == content
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
front_matter_parser-1.0.1 spec/support/matcher.rb
front_matter_parser-1.0.0 spec/support/matcher.rb
front_matter_parser-0.2.1 spec/support/matcher.rb
front_matter_parser-0.2.0 spec/support/matcher.rb
front_matter_parser-0.1.1 spec/support/matcher.rb
front_matter_parser-0.1.0 spec/support/matcher.rb