Sha256: 5d9cdbbfd02e77e3f5dac5bdd37c9de1b39965d0a16e38dcaf39a510c32ea16f
Contents?: true
Size: 276 Bytes
Versions: 58
Compression:
Stored size: 276 Bytes
Contents
require 'spec_helper' module Pact describe ServiceConsumer do describe "as_json" do it "returns a hash representation of the object" do expect(ServiceConsumer.new(:name => "Bob").as_json).to eq :name => "Bob" end end end end
Version data entries
58 entries across 58 versions & 2 rubygems