spec/td/client/result_api_spec.rb in td-client-0.8.65 vs spec/td/client/result_api_spec.rb in td-client-0.8.66
- old
+ new
@@ -12,10 +12,10 @@
describe 'create_result' do
it 'should create a new result' do
params = {'url' => result_url}
stub_api_request(:post, "/v3/result/create/#{e(result_name)}").with(:body => params).to_return(:body => {'result' => result_name})
- api.create_result(result_name, result_url).should be_true
+ api.create_result(result_name, result_url).should be true
end
it 'should return 422 error with invalid name' do
name = '1'
params = {'url' => result_url}