Sha256: 19024ccfe2330cc0024b8abcf45c8f04b404dac4b56cfd76c399ea78a5dfdb28

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

require 'protobuf_spec/matchers/be_protobuf_eql'
require 'protobuf_spec/matchers/have_protobuf_path'

module ProtobufSpec
  module Matchers
    def be_protobuf_eql(expected=nil)
      ProtobufSpec::Matchers::BeProtobufEql.new(expected)
    end

    def have_protobuf_path(path)
      ProtobufSpec::Matchers::HaveProtobufPath.new(path)
    end
  end
end

RSpec.configure do |config|
  config.include(ProtobufSpec::Matchers)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
protobuf_spec-0.3.2 lib/protobuf_spec/matchers.rb
protobuf_spec-0.3.1 lib/protobuf_spec/matchers.rb