spec/models/logical/naf/machine_spec.rb in naf-2.0.4 vs spec/models/logical/naf/machine_spec.rb in naf-2.1.0
- old
+ new
@@ -19,10 +19,10 @@
:affinities,
:marked_down] }
describe '#self.all' do
it 'return an array of logical wrappers around machines' do
- ::Logical::Naf::Machine.all.map(&:id).should == [physical_machine.id, physical_machine_two.id]
+ ::Logical::Naf::Machine.all.map(&:id).sort.should == [physical_machine.id, physical_machine_two.id]
end
end
describe '#process_pool_size' do
it 'return the correct value' do