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.79.1 spec/features/tag_version_spec.rb
pact_broker-2.79.0 spec/features/tag_version_spec.rb
pact_broker-2.78.1 spec/features/tag_version_spec.rb
pact_broker-2.78.0 spec/features/tag_version_spec.rb
pact_broker-2.77.0 spec/features/tag_version_spec.rb
pact_broker-2.76.2 spec/features/tag_version_spec.rb
pact_broker-2.76.1 spec/features/tag_version_spec.rb
pact_broker-2.76.0 spec/features/tag_version_spec.rb
pact_broker-2.75.0 spec/features/tag_version_spec.rb
pact_broker-2.74.1 spec/features/tag_version_spec.rb
pact_broker-2.74.0 spec/features/tag_version_spec.rb
pact_broker-2.73.0 spec/features/tag_version_spec.rb
pact_broker-2.72.0 spec/features/tag_version_spec.rb
pact_broker-2.71.0 spec/features/tag_version_spec.rb
pact_broker-2.70.0 spec/features/tag_version_spec.rb
pact_broker-2.69.0 spec/features/tag_version_spec.rb
pact_broker-2.68.1 spec/features/tag_version_spec.rb
pact_broker-2.68.0 spec/features/tag_version_spec.rb
pact_broker-2.67.0 spec/features/tag_version_spec.rb
pact_broker-2.66.0 spec/features/tag_version_spec.rb