Sha256: 9dbaa34d789db8b9ea6eb42749ea7f3ed55b6cc8a43692edff7c3904fbe7f685

Contents?: true

Size: 414 Bytes

Versions: 12

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

12 entries across 12 versions & 1 rubygems

Version Path
pact_broker-2.89.1 spec/features/tag_version_spec.rb
pact_broker-2.89.0 spec/features/tag_version_spec.rb
pact_broker-2.88.0 spec/features/tag_version_spec.rb
pact_broker-2.87.0 spec/features/tag_version_spec.rb
pact_broker-2.86.0 spec/features/tag_version_spec.rb
pact_broker-2.85.1 spec/features/tag_version_spec.rb
pact_broker-2.85.0 spec/features/tag_version_spec.rb
pact_broker-2.84.0 spec/features/tag_version_spec.rb
pact_broker-2.83.0 spec/features/tag_version_spec.rb
pact_broker-2.82.0 spec/features/tag_version_spec.rb
pact_broker-2.81.0 spec/features/tag_version_spec.rb
pact_broker-2.80.0 spec/features/tag_version_spec.rb