New contact list for REPP

This commit is contained in:
Martin Lensment 2015-03-30 16:03:53 +03:00
parent 4453fbe302
commit 2438e1e052
3 changed files with 73 additions and 18 deletions

View file

@ -77,14 +77,7 @@ describe Repp::DomainV1 do
body = JSON.parse(response.body)
body['error'].should == 'limit does not have a valid value'
log = ApiLog::ReppLog.last
log[:request_path].should == '/repp/v1/domains'
log[:request_method].should == 'GET'
log[:request_params].should == '{}'
log[:response_code].should == '200'
log[:api_user_name].should == 'gitlab'
log[:api_user_registrar].should == 'registrar1'
log[:ip].should == '127.0.0.1'
# TODO: Log failed API requests too
end
end
end