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.23.3 spec/features/tag_version_spec.rb
pact_broker-2.23.2 spec/features/tag_version_spec.rb
pact_broker-2.23.1 spec/features/tag_version_spec.rb
pact_broker-2.23.0 spec/features/tag_version_spec.rb
pact_broker-2.22.0 spec/features/tag_version_spec.rb
pact_broker-2.21.0 spec/features/tag_version_spec.rb
pact_broker-2.20.0 spec/features/tag_version_spec.rb
pact_broker-2.19.2 spec/features/tag_version_spec.rb
pact_broker-2.19.1 spec/features/tag_version_spec.rb
pact_broker-2.19.0 spec/features/tag_version_spec.rb
pact_broker-2.18.0 spec/features/tag_version_spec.rb
pact_broker-2.17.1 spec/features/tag_version_spec.rb
pact_broker-2.17.0 spec/features/tag_version_spec.rb
pact_broker-2.16.1 spec/features/tag_version_spec.rb
pact_broker-2.16.0 spec/features/tag_version_spec.rb
pact_broker-2.15.0 spec/features/tag_version_spec.rb
pact_broker-2.14.0 spec/features/tag_version_spec.rb
pact_broker-2.13.1 spec/features/tag_version_spec.rb
pact_broker-2.13.0 spec/features/tag_version_spec.rb
pact_broker-2.12.0 spec/features/tag_version_spec.rb