Fix request spec log

This commit is contained in:
Martin Lensment 2015-01-27 11:50:07 +02:00
parent f92d3088fb
commit 290fe0629d

View file

@ -18,7 +18,7 @@ describe Repp::DomainV1 do
# TODO: Maybe there is a way not to convert from and to json again
expect(body['domains'].to_json).to eq(epp_user.registrar.domains.to_json)
log = ApiLog::ReppLog.first
log = ApiLog::ReppLog.last
expect(log[:request_path]).to eq('/repp/v1/domains')
expect(log[:request_method]).to eq('GET')
expect(log[:request_params]).to eq('{}')