Sha256: 0ebc2260662310569a258a64fa517399042de863b2ee0df977d1916dafa4e095
Contents?: true
Size: 497 Bytes
Versions: 9
Compression:
Stored size: 497 Bytes
Contents
require 'helper' require 'flipper/adapters/pstore' require 'flipper/spec/shared_adapter_specs' RSpec.describe Flipper::Adapters::PStore do subject { dir = FlipperRoot.join("tmp").tap { |d| d.mkpath } pstore_file = dir.join("flipper.pstore") pstore_file.unlink if pstore_file.exist? described_class.new(pstore_file) } 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
9 entries across 9 versions & 1 rubygems