mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
Remove useless specs
This commit is contained in:
parent
6bab335f5a
commit
65a50a8db0
9 changed files with 0 additions and 152 deletions
|
@ -34,10 +34,6 @@ describe Dnskey do
|
|||
@dnskey.errors.full_messages.should match_array([
|
||||
])
|
||||
end
|
||||
|
||||
it 'should not have any versions' do
|
||||
@dnskey.versions.should == []
|
||||
end
|
||||
end
|
||||
|
||||
context 'with valid attributes' do
|
||||
|
@ -66,15 +62,6 @@ describe Dnskey do
|
|||
@dnskey.errors.full_messages.should match_array([])
|
||||
end
|
||||
|
||||
# TODO: figure out why not working
|
||||
# it 'should have one version' do
|
||||
# with_versioning do
|
||||
# @dnskey.versions.should == []
|
||||
# @dnskey.touch_with_version
|
||||
# @dnskey.versions.size.should == 1
|
||||
# end
|
||||
# end
|
||||
|
||||
it 'generates correct DS digest and DS key tag for ria.ee' do
|
||||
d = create(:domain, name: 'ria.ee', dnskeys: [@dnskey])
|
||||
dk = d.dnskeys.last
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue