spec/integration/chassis_config_spec.rb in rubyipmi-0.8.1 vs spec/integration/chassis_config_spec.rb in rubyipmi-0.9.0
- old
+ new
@@ -1,7 +1,8 @@
-require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
+require 'spec_helper'
+
describe "Chassis Config" do
before :each do
user ||= ENV["ipmiuser"] || "admin"
pass ||= ENV["ipmipass"] || "password"
@@ -10,31 +11,28 @@
@conn = Rubyipmi.connect(user, pass, host, provider)
end
it "test to set booting from PXE" do
- @conn.chassis.config.bootpxe.should == true
+ expect(@conn.chassis.config.bootpxe).to eq(true)
end
it "test to set booting from Disk" do
- @conn.chassis.config.bootdisk.should == true
+ expect(@conn.chassis.config.bootdisk).to eq(true)
end
it "test to set booting from Cdrom" do
- @conn.chassis.config.bootcdrom.should == true
+ expect(@conn.chassis.config.bootcdrom).to eq(true)
end
it "test to set booting from bios" do
- @conn.chassis.config.bootbios.should == true
+ expect(@conn.chassis.config.bootbios).to eq(true)
end
it "test to set boot persistent value" do
end
it "test to checkout the entire chassis config" do
end
-
-
-
end
\ No newline at end of file