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.36.1 spec/features/tag_version_spec.rb
pact_broker-2.36.0 spec/features/tag_version_spec.rb
pact_broker-2.35.0 spec/features/tag_version_spec.rb
pact_broker-2.34.0 spec/features/tag_version_spec.rb
pact_broker-2.33.0 spec/features/tag_version_spec.rb
pact_broker-2.32.0 spec/features/tag_version_spec.rb
pact_broker-2.31.0 spec/features/tag_version_spec.rb
pact_broker-2.30.0 spec/features/tag_version_spec.rb
pact_broker-2.29.0 spec/features/tag_version_spec.rb
pact_broker-2.27.6 spec/features/tag_version_spec.rb
pact_broker-2.27.5 spec/features/tag_version_spec.rb
pact_broker-2.27.4 spec/features/tag_version_spec.rb
pact_broker-2.27.3 spec/features/tag_version_spec.rb
pact_broker-2.27.2 spec/features/tag_version_spec.rb
pact_broker-2.27.0 spec/features/tag_version_spec.rb
pact_broker-2.26.1 spec/features/tag_version_spec.rb
pact_broker-2.26.0 spec/features/tag_version_spec.rb
pact_broker-2.25.0 spec/features/tag_version_spec.rb
pact_broker-2.24.0 spec/features/tag_version_spec.rb
pact_broker-2.23.4 spec/features/tag_version_spec.rb