Sha256: 86bf5e9b775d2f97199a05a90eddb638f03c7e36f1f08cbf76547c4da5e4e383

Contents?: true

Size: 441 Bytes

Versions: 8

Compression:

Stored size: 441 Bytes

Contents

# encoding: utf-8
require 'spec_helper'

describe Quandl::Logger do
  
  describe "#use" do
    
    subject{ Quandl::Logger }
    
    context "given String" do
      before(:each){ subject.use('development.log') }
      its(:logger){ should be_a ::Logger }
    end
    
    context "given Logger" do
      before(:each){ subject.use( ::Logger.new('development.log') ) }
      its(:logger){ should be_a ::Logger }
    end
    
  end
  
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
quandl_logger-0.3.1 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.6 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.5 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.4 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.3 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.2 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.1 spec/lib/quandl/logger_spec.rb
quandl_logger-0.2.0 spec/lib/quandl/logger_spec.rb