Sha256: c70843ae90318c060528207e9ad99df7f52c892eda40f78ce637f67b4ae7922d

Contents?: true

Size: 339 Bytes

Versions: 5

Compression:

Stored size: 339 Bytes

Contents

describe StatusCat do

  describe '::config' do

    it 'returns the configuration' do
      expect(StatusCat.config).to be(StatusCat::Config.instance)
    end
  end

  describe '::configure' do

    it 'yields the configuration' do
      StatusCat.configure { |config| expect(config).to be(StatusCat::Config.instance) }
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
status_cat-5.2.1 spec/lib/status_cat_spec.rb
status_cat-5.2.0 spec/lib/status_cat_spec.rb
status_cat-5.0.2 spec/lib/status_cat_spec.rb
status_cat-5.0.1 spec/lib/status_cat_spec.rb
status_cat-5.0.0 spec/lib/status_cat_spec.rb