We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2b4954 + 07c4b6c commit ba33985Copy full SHA for ba33985
test/integration/supply_items_api_test.rb
@@ -75,7 +75,7 @@ class SupplyItemsApiTest < Redmine::ApiTest::Base
75
params: {supply_item: {name: 'new name', custom_field_values: {@unit.id => 'm'}}},
76
:headers => credentials('jsmith')
77
end
78
- assert_response :ok
+ assert_response :no_content
79
assert_equal '', @response.body
80
item = SupplyItem.find @item.id
81
assert_equal 'new name', item.name
@@ -99,7 +99,7 @@ class SupplyItemsApiTest < Redmine::ApiTest::Base
99
delete "/projects/ecookbook/supply_items/#{@item.id}.xml",
100
101
102
103
104
assert_nil SupplyItem.find_by_id(@item.id)
105
0 commit comments