mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
Remove useless specs
This commit is contained in:
parent
6bab335f5a
commit
65a50a8db0
9 changed files with 0 additions and 152 deletions
|
@ -23,22 +23,6 @@ describe WhiteIp do
|
|||
end
|
||||
end
|
||||
|
||||
context 'with valid attributes' do
|
||||
before :all do
|
||||
@white_ip = create(:white_ip)
|
||||
end
|
||||
|
||||
it 'should have one version' do
|
||||
with_versioning do
|
||||
@white_ip.versions.should == []
|
||||
@white_ip.ipv4 = '192.168.1.2'
|
||||
@white_ip.save
|
||||
@white_ip.errors.full_messages.should match_array([])
|
||||
@white_ip.versions.size.should == 1
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe '#include_ip?' do
|
||||
context 'when given ip v4 exists' do
|
||||
before do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue