spec/integration/rubyipmi_spec.rb in rubyipmi-0.9.1 vs spec/integration/rubyipmi_spec.rb in rubyipmi-0.9.2

- old
+ new

@@ -46,15 +46,15 @@ it "should not create a connection object if a provider is not present" do begin conn = Rubyipmi.connect(@user, @pass, @host, "bogus") rescue Exception => e - expect(e.message).to match(/Invalid/) + expect(e.message).to match(/The IPMI provider: bogus is not installed/) end end it "check to find any available installed providers" do - expect(Rubyipmi.providers_installed?.length).to be > 0 + expect(Rubyipmi.providers_installed.length).to be > 0 end it 'can get diag info' do # must have both freeipmi and ipmitool for this to pass Rubyipmi.get_diag(@user,@pass,@host)