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

Version Path
pact-1.0.20 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.19 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.18 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.15 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.13 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.12 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.11 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.10 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.9 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.8 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.7 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.6 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.5 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.4 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.3 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.2 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.1 spec/lib/pact/consumer/service_consumer_spec.rb
pact-1.0.0 spec/lib/pact/consumer/service_consumer_spec.rb