Sha256: 72a25404b7471dc204244f29d44bb011bebc5801883d50332c30c4c83ddf0f72
Contents?: true
Size: 794 Bytes
Versions: 7
Compression:
Stored size: 794 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Bmc" 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 "creates a bmc object" do @conn.bmc.should_not be_nil end #it "options should change after calling info" do # info = @conn.bmc.info # before = info.options.clone # @conn.bmc.info.retrieve # after = info.options.clone # before.length.should be < after.length #end it "is able to retrieve the bmc info" do @conn.bmc.info.should_not be_nil end it "is able to retrieve the guid" do @conn.bmc.guid.should_not be_nil end end
Version data entries
7 entries across 7 versions & 1 rubygems