From 669c28377b043a9ca0d6fe57c520375b9efe2b47 Mon Sep 17 00:00:00 2001 From: Martin Lensment Date: Thu, 16 Apr 2015 11:48:50 +0300 Subject: [PATCH] Fix test description --- doc/repp/v1/account.md | 2 +- doc/repp/v1/contact.md | 14 +++++++------- doc/repp/v1/domain.md | 8 ++++---- spec/requests/v1/account_spec.rb | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/doc/repp/v1/account.md b/doc/repp/v1/account.md index a943f48e0..511c51382 100644 --- a/doc/repp/v1/account.md +++ b/doc/repp/v1/account.md @@ -1,5 +1,5 @@ ## GET /repp/v1/accounts/balance -Returns domains of the current registrar. +Returns account balance of the current registrar. #### Request diff --git a/doc/repp/v1/contact.md b/doc/repp/v1/contact.md index 119889a7d..f16a5d2c5 100644 --- a/doc/repp/v1/contact.md +++ b/doc/repp/v1/contact.md @@ -23,23 +23,23 @@ Content-Type: application/json ``` HTTP/1.1 200 Cache-Control: max-age=0, private, must-revalidate -Content-Length: 533 +Content-Length: 524 Content-Type: application/json { "contacts": [ { "id": 1, - "code": "sh135909910", + "code": "sh523328490", "phone": "+372.12345678", - "email": "natasha.bechtelar@breitenberg.name", + "email": "corene_koch@caspermoen.net", "fax": null, - "created_at": "2015-04-16T08:44:33.041Z", - "updated_at": "2015-04-16T08:44:33.041Z", + "created_at": "2015-04-16T08:48:39.551Z", + "updated_at": "2015-04-16T08:48:39.551Z", "ident": "37605030299", "ident_type": "priv", "auth_info": "password", - "name": "Miss Sherwood Jacobi0", + "name": "Alana Williamson II0", "org_name": null, "registrar_id": 1, "creator_str": null, @@ -79,7 +79,7 @@ Content-Type: application/json { "contacts": [ - "sh056866451" + "sh629765881" ], "total_number_of_records": 2 } diff --git a/doc/repp/v1/domain.md b/doc/repp/v1/domain.md index 467fd9c59..28ac7aa1d 100644 --- a/doc/repp/v1/domain.md +++ b/doc/repp/v1/domain.md @@ -32,14 +32,14 @@ Content-Type: application/json "id": 1, "name": "domain0.ee", "registrar_id": 1, - "registered_at": "2015-04-16T08:44:33.499Z", + "registered_at": "2015-04-16T08:48:39.995Z", "status": null, "valid_from": "2015-04-16T00:00:00.000Z", "valid_to": "2016-04-16T00:00:00.000Z", "owner_contact_id": 1, - "auth_info": "d081ba64515bc8ae9a512a98e6b1baa1", - "created_at": "2015-04-16T08:44:33.496Z", - "updated_at": "2015-04-16T08:44:33.496Z", + "auth_info": "3ec9a29d618023920b61758c339b638f", + "created_at": "2015-04-16T08:48:39.992Z", + "updated_at": "2015-04-16T08:48:39.991Z", "name_dirty": "domain0.ee", "name_puny": "domain0.ee", "period": 1, diff --git a/spec/requests/v1/account_spec.rb b/spec/requests/v1/account_spec.rb index 8a586cea7..06eeb05cf 100644 --- a/spec/requests/v1/account_spec.rb +++ b/spec/requests/v1/account_spec.rb @@ -9,7 +9,7 @@ describe Repp::AccountV1 do end describe 'GET /repp/v1/accounts/balance' do - it 'returns domains of the current registrar', autodoc: true, route_info_doc: true do + it 'returns account balance of the current registrar', autodoc: true, route_info_doc: true do get_with_auth '/repp/v1/accounts/balance', {}, @api_user response.status.should == 200