Sha256: 1731d3bcccdf12575c58f01f2983032dc1e99cc0b140bddfec641add33b44e79
Contents?: true
Size: 584 Bytes
Versions: 3
Compression:
Stored size: 584 Bytes
Contents
require 'spec_helper' require 'lumberg/whm' module Lumberg describe Whm::Base do before(:each) do @login = { :host => @whm_host, :hash => @whm_hash } @server = Whm::Server.new(@login.dup) @base = Whm::Base.new(:server => @server) end describe "#initialize" do it "allows a server instance to be passed in" do @base.server.should be_a(Whm::Server) end it "allows a server hash to be passed in" do base = Whm::Base.new(:server => @login) base.server.should be_a(Whm::Server) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lumberg-2.0.0.pre4 | spec/whm/base_spec.rb |
lumberg-2.0.0.pre3 | spec/whm/base_spec.rb |
lumberg-1.1.1 | spec/whm/base_spec.rb |