Sha256: b84600dc11f480767d05603273c12c1fcdfa39edfc1d115d6e8f5fdd369ee089
Contents?: true
Size: 609 Bytes
Versions: 10
Compression:
Stored size: 609 Bytes
Contents
require 'spec_helper' require 'pact_broker/repositories/pacticipant_repository' require 'support/provider_state_builder' module PactBroker module Repositories describe PacticipantRepository do describe "#pacticipant_names" do before do ProviderStateBuilder.new .create_pacticipant("Plants") .create_pacticipant("Animals") end subject { PacticipantRepository.new.pacticipant_names } it "returns an array of pacticipant names" do expect(subject).to eq ["Animals", "Plants"] end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems