Sha256: 016165a18833ebb1f742c26493b631d2d14deb7f9beacea5ae00c25a898b160f
Contents?: true
Size: 720 Bytes
Versions: 8
Compression:
Stored size: 720 Bytes
Contents
require 'spec_helper' require 'pact/provider/world' describe Pact do describe ".world" do it "returns a world" do expect(Pact.world).to be_instance_of Pact::Provider::World end it "returns the same world each time" do expect(Pact.world).to be Pact.world end end end module Pact module Provider describe World do subject { World.new } describe "provider_states" do it "returns a provider state proxy" do expect(subject.provider_states).to be_instance_of ProviderStateProxy end it "returns the same object each time" do expect(subject.provider_states).to be subject.provider_states end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems