Sha256: e5f1de2e3bb3b246f6e9073e9d60ea494107f49a69c6a38db8af829eaa9c34c1

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

require 'helper'
require 'flipper/adapters/pstore'
require 'flipper/spec/shared_adapter_specs'

describe Flipper::Adapters::PStore do
  subject {
    dir = FlipperRoot.join("tmp").tap { |d| d.mkpath }
    described_class.new(dir.join("flipper.pstore"))
  }

  it_should_behave_like 'a flipper adapter'

  it "defaults path to flipper.pstore" do
    described_class.new.path.should eq("flipper.pstore")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
flipper-0.7.1 spec/flipper/adapters/pstore_spec.rb
flipper-0.7.0 spec/flipper/adapters/pstore_spec.rb
flipper-0.7.0.beta6 spec/flipper/adapters/pstore_spec.rb
flipper-0.7.0.beta5 spec/flipper/adapters/pstore_spec.rb
flipper-0.7.0.beta4 spec/flipper/adapters/pstore_spec.rb