Sha256: 5a2596979205b1f14f8dbdb1ccf8d31b2f287ea9c60a0f416536899ffc7bbec0
Contents?: true
Size: 585 Bytes
Versions: 56
Compression:
Stored size: 585 Bytes
Contents
require 'spec/support/test_data_builder' describe "Delete version" do let(:path) { "/pacticipants/Consumer/versions/1.2.3" } let(:last_response_body) { JSON.parse(subject.body, symbolize_names: true) } subject { delete path; last_response } before do TestDataBuilder.new .create_consumer("Another Consumer") .create_consumer("Consumer") .create_consumer_version("1.2.3") .create_consumer_version_tag("prod") .create_consumer_version("1.2.4") end it "returns a 200 HAL JSON response" do expect(subject.status).to eq 204 end end
Version data entries
56 entries across 56 versions & 1 rubygems