Sha256: 548c7d49e27c3509065ca92cd656eea8a4fec9ccd29727585edd6c722413415a
Contents?: true
Size: 905 Bytes
Versions: 16
Compression:
Stored size: 905 Bytes
Contents
require 'test_helper' require 'workarea/api/documentation_test' module Workarea module Api module Admin class ReleaseChangesDocumentationTest < DocumentationTest include Workarea::Admin::IntegrationTest resource 'Release Changes' def test_and_document_create description 'Adding changes to a release' route admin_api.product_path(':id') explanation "release_id can be sent with any patch request \ to resources that can be changed through releases" record_request do patch admin_api.product_path(create_product.id), params: { product: { name: 'foo' }, release_id: create_release.id }, as: :json assert_equal(204, response.status) end end end end end end
Version data entries
16 entries across 16 versions & 2 rubygems