Project

General

Profile

« Previous | Next » 

Revision 28f4f128

Added by Lukas Zapletal almost 6 years ago

Fixes #23834 - better assert in host test

View differences:

test/models/host_test.rb
:provider => "IPMI", :username => "root", :password => "secret", :ip => "10.35.19.35",
:identifier => 'eth2'
as_user :one do
assert h.update!("interfaces_attributes" => {"0" => {"mac" => "00:52:10:1e:45:16"}})
h.update!("interfaces_attributes" => {"0" => {"mac" => "00:52:10:1e:45:16"}})
assert_empty h.errors
end
end

Also available in: Unified diff