Sha256: 72949b6d2711f58dcbb29f82ce5ed0988a988b375bea3e99da98bda5f3d2bc60
Contents?: true
Size: 579 Bytes
Versions: 3
Compression:
Stored size: 579 Bytes
Contents
require 'spec_helper' describe Lumberg::Config do before(:each) do @config = Lumberg::Config.new end describe "#new" do it "sets up the @config hash" do @config.options.should == {} end end describe "#[]" do it "behaves like an array" do @config.options[:something] = 1 @config[:something].should == 1 end end describe "#debug" do it "configures net/http to log to console" do @config.options[:debug].should be_nil @config.debug true @config.options[:debug].should == true end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lumberg-1.1.1 | spec/config_spec.rb |
lumberg-1.0.6 | spec/config_spec.rb |
lumberg-1.0.3 | spec/config_spec.rb |