Sha256: e19efec72b596109e4b362026362190cd5105b806b2a8fcca05afa0fb8c7cfb8
Contents?: true
Size: 542 Bytes
Versions: 4
Compression:
Stored size: 542 Bytes
Contents
describe "Chassis" do before :each do user = ENV["ipmiuser"] pass = ENV["ipmipass"] host = ENV["ipmihost"] provider = ENV["ipmiprovider"] @conn = Rubyipmi.connect(user, pass, host, provider) end it "test to turn uid light on for 10 seconds" do value = @conn.chassis.identify(true, 5) sleep(6) value.should == true end it "test to turn uid light on then off" do @conn.chassis.identify(true) sleep(2) @conn.chassis.identify(false).should == true end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rubyipmi-0.3.3 | spec/chassis_spec.rb |
rubyipmi-0.3.2 | spec/chassis_spec.rb |
rubyipmi-0.3.1 | spec/chassis_spec.rb |
rubyipmi-0.3.0 | spec/chassis_spec.rb |