Sha256: 583c8c70c9c9bfc56228361fd7ed13b0f0728df50ba17a2ccc464224ab6c795b
Contents?: true
Size: 569 Bytes
Versions: 17
Compression:
Stored size: 569 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
17 entries across 17 versions & 1 rubygems