Sha256: 662e02845335f5faf8da55ac49bce5a6301df1792fa8f8a02a48dc882d72b770

Contents?: true

Size: 414 Bytes

Versions: 114

Compression:

Stored size: 414 Bytes

Contents

describe "tagging a pacticipant version" do
  let(:path) { "/pacticipants/Foo/versions/1.2.3/tags/feat%2Fbar" }

  subject { put path, nil, {'CONTENT_TYPE' => 'application/json'}; last_response }

  context "when the pacticipant/version/tag do not exist" do
    it "creates a tag" do
      expect{ subject }.to change {
        PactBroker::Domain::Tag.where(name: 'feat/bar').count
      }.by(1)
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
pact_broker-2.65.0 spec/features/tag_version_spec.rb
pact_broker-2.64.0 spec/features/tag_version_spec.rb
pact_broker-2.63.0 spec/features/tag_version_spec.rb
pact_broker-2.62.0 spec/features/tag_version_spec.rb
pact_broker-2.61.0 spec/features/tag_version_spec.rb
pact_broker-2.60.1 spec/features/tag_version_spec.rb
pact_broker-2.60.0 spec/features/tag_version_spec.rb
pact_broker-2.59.2 spec/features/tag_version_spec.rb
pact_broker-2.59.1 spec/features/tag_version_spec.rb
pact_broker-2.59.0 spec/features/tag_version_spec.rb
pact_broker-2.58.3 spec/features/tag_version_spec.rb
pact_broker-2.58.2 spec/features/tag_version_spec.rb
pact_broker-2.58.0 spec/features/tag_version_spec.rb
pact_broker-2.57.0 spec/features/tag_version_spec.rb
pact_broker-2.56.1 spec/features/tag_version_spec.rb
pact_broker-2.56.0 spec/features/tag_version_spec.rb
pact_broker-2.55.0 spec/features/tag_version_spec.rb
pact_broker-2.54.0 spec/features/tag_version_spec.rb
pact_broker-2.53.0 spec/features/tag_version_spec.rb
pact_broker-2.52.2 spec/features/tag_version_spec.rb