mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Remove Domain#valid_from
As unused. `created_at` is the same value as `valid_from`. #787
This commit is contained in:
parent
de5979790f
commit
2f86b3c76b
11 changed files with 10 additions and 20 deletions
|
@ -21,11 +21,7 @@ RSpec.describe Epp::Domain, db: false do
|
|||
expect(domain.registered_at).to eq(Time.zone.parse('05.07.2010'))
|
||||
end
|
||||
|
||||
it 'has :valid_from set to now' do
|
||||
expect(domain.valid_from).to eq(Time.zone.parse('05.07.2010'))
|
||||
end
|
||||
|
||||
it 'has :valid_to set to the beginning of next day after :valid_from' do
|
||||
it 'has :valid_to set to the beginning of next day after :registered_at' do
|
||||
expect(domain.valid_to).to eq(Time.zone.parse('06.07.2011 00:00'))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue