Sha256: 8937edb2fbebad7839533e4321da715ac5c3c67a630ceaa6a27dcd2be0959d9a

Contents?: true

Size: 432 Bytes

Versions: 32

Compression:

Stored size: 432 Bytes

Contents

require 'flipper/adapters/pstore'

RSpec.describe Flipper::Adapters::PStore do
  subject do
    dir = FlipperRoot.join('tmp').tap(&:mkpath)
    pstore_file = dir.join('flipper.pstore')
    pstore_file.unlink if pstore_file.exist?
    described_class.new(pstore_file)
  end

  it_should_behave_like 'a flipper adapter'

  it 'defaults path to flipper.pstore' do
    expect(described_class.new.path).to eq('flipper.pstore')
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
flipper-0.26.0 spec/flipper/adapters/pstore_spec.rb
flipper-0.26.0.rc2 spec/flipper/adapters/pstore_spec.rb
flipper-0.26.0.rc1 spec/flipper/adapters/pstore_spec.rb
flipper-0.25.4 spec/flipper/adapters/pstore_spec.rb
flipper-0.25.3 spec/flipper/adapters/pstore_spec.rb
flipper-0.25.2 spec/flipper/adapters/pstore_spec.rb
flipper-0.25.1 spec/flipper/adapters/pstore_spec.rb
flipper-0.25.0 spec/flipper/adapters/pstore_spec.rb
flipper-0.24.1 spec/flipper/adapters/pstore_spec.rb
flipper-0.24.0 spec/flipper/adapters/pstore_spec.rb
flipper-0.23.1 spec/flipper/adapters/pstore_spec.rb
flipper-0.23.0 spec/flipper/adapters/pstore_spec.rb