Sha256: c1179dfda15914ca9339c1696b4042e8b7b1b0053b490b7c8912b4dece20ec7e
Contents?: true
Size: 643 Bytes
Versions: 2
Compression:
Stored size: 643 Bytes
Contents
require 'helper' require 'flipper/adapters/cassanity' require 'flipper/spec/shared_adapter_specs' describe Flipper::Adapters::Cassanity do let(:client) { Cassanity::Client.new } let(:keyspace) { client.keyspace(:cassanity) } let(:column_family) { keyspace.column_family({ name: :flipper, schema: { primary_key: [:key, :field], columns: { key: :text, field: :text, value: :text, }, }, }) } subject { described_class.new(column_family) } before do keyspace.recreate column_family.create end it_should_behave_like 'a flipper adapter' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flipper-cassanity-0.6.0 | spec/cassanity_spec.rb |
flipper-cassanity-0.5.0 | spec/cassanity_spec.rb |