Improve EPP domain:renew specs

#430
This commit is contained in:
Artur Beljajev 2017-04-16 17:16:40 +03:00
parent 6c3a96b2ec
commit 87f48d6788
3 changed files with 91 additions and 2 deletions

View file

@ -18,7 +18,7 @@ RSpec.describe 'EPP domain:renew' do
sign_in_to_epp_area(user: user)
end
context 'when given expire time is the same as current' do
context 'when given expire time and current match' do
let!(:domain) { create(:domain,
registrar: registrar,
name: 'test.com',
@ -52,7 +52,7 @@ RSpec.describe 'EPP domain:renew' do
end
end
context 'when given expire time is not the same as current' do
context 'when given expire time and current do not match' do
let!(:domain) { create(:domain,
registrar: registrar,
name: 'test.com',