mirror of
https://github.com/internetee/registry.git
synced 2025-08-18 07:23:49 +02:00
parent
48b230f87e
commit
e840719b8a
1 changed files with 0 additions and 11 deletions
|
@ -28,17 +28,6 @@ describe WhiteIp do
|
||||||
@white_ip = Fabricate(:white_ip)
|
@white_ip = Fabricate(:white_ip)
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'should be valid' do
|
|
||||||
@white_ip.valid?
|
|
||||||
@white_ip.errors.full_messages.should match_array([])
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'should be valid twice' do
|
|
||||||
@white_ip = Fabricate(:white_ip)
|
|
||||||
@white_ip.valid?
|
|
||||||
@white_ip.errors.full_messages.should match_array([])
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'should have one version' do
|
it 'should have one version' do
|
||||||
with_versioning do
|
with_versioning do
|
||||||
@white_ip.versions.should == []
|
@white_ip.versions.should == []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue