We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8b6463 commit ddd82feCopy full SHA for ddd82fe
1 file changed
spec/VirtualServerOrder_spec.rb
@@ -175,6 +175,12 @@
175
expect(subject.virtual_guest_template['networkComponents']).to eq [{'maxSpeed' => 1000}]
176
end
177
178
+ it "puts the bootMode attribute into the template as supplementalCreateObjectOptions.bootMode" do
179
+ expect(subject.virtual_guest_template['supplementalCreateObjectOptions']).to be_nil
180
+ subject.supplementalCreateObjectOptions = {"bootMode" => 'HVM'}
181
+ expect(subject.virtual_guest_template['supplementalCreateObjectOptions']).to eq ({"bootMode" => "HVM"})
182
+ end
183
+
184
it "calls the softlayer API to validate an order template" do
185
client = SoftLayer::Client.new(:username => "fakeusername", :api_key => 'DEADBEEFBADF00D')
186
0 commit comments