Project

General

Profile

« Previous | Next » 

Revision d575926a

Added by Alon Goldboim almost 9 years ago

Fixes #10356 - changed the POST/PUT RABL template to be the same as the GET template

HTTP response code standardized to 201 on create.

View differences:

test/functional/api/v2/smart_variables_controller_test.rb
post :create, { :smart_variable => valid_attrs }
end
end
assert_response :success
assert_response :created
end
test "should show specific smart variable" do

Also available in: Unified diff