Module: ProtobufSpec::Matchers

Defined in:
lib/protobuf_spec/matchers.rb,
lib/protobuf_spec/matchers/be_protobuf_eql.rb,
lib/protobuf_spec/matchers/have_protobuf_path.rb

Defined Under Namespace

Classes: BeProtobufEql, HaveProtobufPath

Instance Method Summary collapse

Instance Method Details

#be_protobuf_eql(expected = nil) ⇒ Object



6
7
8
# File 'lib/protobuf_spec/matchers.rb', line 6

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

#have_protobuf_path(path) ⇒ Object



10
11
12
# File 'lib/protobuf_spec/matchers.rb', line 10

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