Skip to content

Commit

Permalink
[dm-types] Fixed invalid spec for IPAddress type
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Oct 26, 2009
1 parent 41099f5 commit e2fab24
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dm-types/spec/integration/ip_address_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ def run_ipv4
@resource.reload
end

it 'has NO IP address' do
@resource.ip_address.should be_nil
it 'is an IPv4 node' do
@resource.should run_ipv4
end

it 'should be the expected value' do
@resource.ip_address.should == IPAddr.new('0.0.0.0')
end
end
end
Expand Down

0 comments on commit e2fab24

Please sign in to comment.