Sha256: fd10a881d7133ec1d35837952bcce558c264cc3b964fd2c289ce4bf38900e35f
Contents?: true
Size: 606 Bytes
Versions: 5
Compression:
Stored size: 606 Bytes
Contents
require 'spec_helper' describe "Chassis" do before :each do user ||= ENV["ipmiuser"] || "admin" pass ||= ENV["ipmipass"] || "password" host ||= ENV["ipmihost"] || "10.0.1.16" provider ||= ENV["ipmiprovider"] || "ipmitool" @conn = Rubyipmi.connect(user, pass, host, provider) end it "test to turn uid light on for 5 seconds" do value = @conn.chassis.identify(true, 5) sleep(6) expect(value).to eq(true) end it "test to turn uid light on then off" do @conn.chassis.identify(true) sleep(2) expect(@conn.chassis.identify(false)).to eq(true) end end
Version data entries
5 entries across 5 versions & 1 rubygems