# File test/location_responder_test.rb, line 13 def create respond_with @resource, location: -> { 'given_location' } end
# File test/location_responder_test.rb, line 21 def set_resource @resource = Address.new @resource.errors[:fail] << "FAIL" if params[:fail] end
# File test/location_responder_test.rb, line 17 def update respond_with @resource, location: 'given_location' end