Sha256: dc5f4185bd3bad7334a743639e147de8096296a3ecf80bd31482db2cf5f08df7
Contents?: true
Size: 635 Bytes
Versions: 2
Compression:
Stored size: 635 Bytes
Contents
require 'spec_helper' describe Basquiat do after(:all) do Basquiat.configure do |config| config.config_file = File.expand_path('../../support/basquiat.yml', __FILE__) end end it 'should have a version number' do expect(Basquiat::VERSION).not_to be_nil end it '#configure yields to a block' do expect { |block| Basquiat.configure(&block) }.to yield_control end it '#configuration' do expect(Basquiat.configuration).to be_a Basquiat::Configuration end it '#reset' do config = Basquiat.configuration Basquiat.reset expect(Basquiat.configuration).not_to equal(config) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
basquiat-1.2.0 | spec/lib/basquiat_spec.rb |
basquiat-1.1.1 | spec/lib/basquiat_spec.rb |