Sha256: 782ebabcb967716cf6a47bc6ec5e66f77f4f5736904bf91ce3fec04e957bd8a5

Contents?: true

Size: 286 Bytes

Versions: 3

Compression:

Stored size: 286 Bytes

Contents

require 'spec_helper'

module Pact::Consumer
   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

3 entries across 3 versions & 1 rubygems

Version Path
pact-0.1.37 spec/lib/pact/consumer/service_consumer_spec.rb
pact-0.1.35 spec/lib/pact/consumer/service_consumer_spec.rb
pact-0.1.28 spec/lib/pact/consumer/service_consumer_spec.rb