Sha256: aeeb54bfce215a4372d6c0728761f3ed1f62d1115d40fa155bd6b20f912bb20f
Contents?: true
Size: 661 Bytes
Versions: 8
Compression:
Stored size: 661 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "Connection" 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 new object" do @conn.should_not be_nil end it 'creates a bmc object' do @conn.bmc.should_not be_nil end it 'creates a chassis object' do @conn.chassis.should_not be_nil end end #it "raises an error if host is unreachable" do # conn = Freeipmi.connect("admin", "creative", "192.168.1.181") # #end
Version data entries
8 entries across 8 versions & 1 rubygems