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.52.1 spec/features/tag_version_spec.rb
pact_broker-2.52.0 spec/features/tag_version_spec.rb
pact_broker-2.51.0 spec/features/tag_version_spec.rb
pact_broker-2.50.1 spec/features/tag_version_spec.rb
pact_broker-2.50.0 spec/features/tag_version_spec.rb
pact_broker-2.49.0 spec/features/tag_version_spec.rb
pact_broker-2.48.0 spec/features/tag_version_spec.rb
pact_broker-2.47.1 spec/features/tag_version_spec.rb
pact_broker-2.47.0 spec/features/tag_version_spec.rb
pact_broker-2.46.0 spec/features/tag_version_spec.rb
pact_broker-2.45.0 spec/features/tag_version_spec.rb
pact_broker-2.44.0 spec/features/tag_version_spec.rb
pact_broker-2.43.0 spec/features/tag_version_spec.rb
pact_broker-2.42.0 spec/features/tag_version_spec.rb
pact_broker-2.41.0 spec/features/tag_version_spec.rb
pact_broker-2.40.0 spec/features/tag_version_spec.rb
pact_broker-2.39.0 spec/features/tag_version_spec.rb
pact_broker-2.38.1 spec/features/tag_version_spec.rb
pact_broker-2.38.0 spec/features/tag_version_spec.rb
pact_broker-2.37.0 spec/features/tag_version_spec.rb