Sha256: 6e2c93568ad86ece54bec3beedb1110d77f9ecf131484fb4263f25bd827d45ef
Contents?: true
Size: 672 Bytes
Versions: 15
Compression:
Stored size: 672 Bytes
Contents
require 'spec_helper' require 'logger' describe Homeflow::API do context "when setting up" do it "should provide a config block" do Homeflow::API.configure do |config| config.api_key = "test api key" end Homeflow::API.configuration.api_key.should == "test api key" end it "should provide setters" do Homeflow::API.configuration.api_key = "test api key" Homeflow::API.configuration.api_key.should == "test api key" end it "should provide a logger" do Homeflow::API.configure do |config| config.api_key = "test api key" config.logger = Logger.new('log.log') end end end end
Version data entries
15 entries across 15 versions & 1 rubygems