Remove useless specs

This commit is contained in:
Artur Beljajev 2019-04-03 20:25:40 +03:00
parent 6bab335f5a
commit 65a50a8db0
9 changed files with 0 additions and 152 deletions

View file

@ -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