Sha256: cd465e73598a69fb5c616b03a605dbd12dae2251524781530595966e88bb0c2c

Contents?: true

Size: 508 Bytes

Versions: 5

Compression:

Stored size: 508 Bytes

Contents

require 'i18n_flow/configuration'

describe I18nFlow do
  describe '.config' do
    it 'should return an instance of Configuration' do
      expect {
        expect(I18nFlow.config).to be_a(I18nFlow::Configuration)
      }.not_to raise_error
    end
  end

  describe '.configure' do
    it 'should change option values inside a block' do
      expect {
        I18nFlow.configure do |config|
          expect(config).to be_a(I18nFlow::Configuration)
        end
      }.not_to raise_error
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
i18n_flow-0.2.3 spec/lib/i18n_flow_spec.rb
i18n_flow-0.2.2 spec/lib/i18n_flow_spec.rb
i18n_flow-0.2.1 spec/lib/i18n_flow_spec.rb
i18n_flow-0.2.0 spec/lib/i18n_flow_spec.rb
i18n_flow-0.1.0 spec/lib/i18n_flow_spec.rb