Sha256: cbbf75dfda914d7fe6f4880347ce58b023389f63e0603f08450d35e644df5cea

Contents?: true

Size: 253 Bytes

Versions: 4

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

module Synvert::Core
  describe Configuration do
    it 'sets / gets' do
      Configuration.instance.set :key, 'value'
      expect(Configuration.instance.get(:key)).to eq 'value'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
synvert-core-0.18.0 spec/synvert/core/configuration_spec.rb
synvert-core-0.17.0 spec/synvert/core/configuration_spec.rb
synvert-core-0.16.1 spec/synvert/core/configuration_spec.rb
synvert-core-0.16.0 spec/synvert/core/configuration_spec.rb