Sha256: ef0af76ba5de841d7dc9574815945c22aec873b2cf4a280970a15965080c8812
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
require 'spec_helper' describe Quandl::Configurable do context 'when extending' do it 'adds a configuration class method' do Fake.extend(Quandl::Configurable) expect(Fake.configuration).to be_kind_of(Quandl::Config) end end context 'when including' do it 'adds a configuration instance method' do Fake.include(Quandl::Configurable) expect(Fake.new.configuration).to be_kind_of(Quandl::Config) end end end
Version data entries
4 entries across 4 versions & 1 rubygems