Revision 9d43fc71
Added by Michael Moll almost 6 years ago
test/models/compute_resources/libvirt_test.rb | ||
---|---|---|
cr.stubs(:find_vm_by_uuid).returns(vm)
|
||
|
||
attrs = cr.vm_compute_attributes_for('abc')
|
||
assert_equal 6*1024, attrs[:memory]
|
||
assert_equal 6 * 1024, attrs[:memory]
|
||
end
|
||
|
||
test "returns nil memory when :memory_size is not provided" do
|
Also available in: Unified diff
Fixes #19789 - fix Layout/SpaceAroundOperators cop