mirror of
https://github.com/retailcrm/api-client-ruby.git
synced 2024-11-29 00:25:29 +03:00
enable specs for refs
This commit is contained in:
parent
d21553e681
commit
1f2cd4128e
@ -16,24 +16,24 @@ describe Retailcrm do
|
|||||||
@ref = @bootstrap.refs_edit
|
@ref = @bootstrap.refs_edit
|
||||||
end
|
end
|
||||||
|
|
||||||
# describe '#reference get' do
|
describe '#reference get' do
|
||||||
# it 'responds with 200' do
|
it 'responds with 200' do
|
||||||
# @bootstrap.refs_get.each { |method|
|
@bootstrap.refs_get.each { |method|
|
||||||
# res = @api.public_send(method)
|
res = @api.public_send(method)
|
||||||
# res.status.to_i.must_equal 200
|
res.status.to_i.must_equal 200
|
||||||
# sleep 0.3
|
sleep 0.3
|
||||||
# }
|
}
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
#
|
|
||||||
# describe '#reference edit' do
|
describe '#reference edit' do
|
||||||
# it 'responds with 200 or 201' do
|
it 'responds with 200 or 201' do
|
||||||
# @bootstrap.refs_edit.each do |method, data|
|
@bootstrap.refs_edit.each do |method, data|
|
||||||
# res = @api.public_send(method, data)
|
res = @api.public_send(method, data)
|
||||||
# res.status.to_i.must_be :<, 202
|
res.status.to_i.must_be :<, 202
|
||||||
# sleep 0.3
|
sleep 0.3
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
# end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user