Sha256: b2e7859f1bbc3e05a47cdbf87ab4efff15a4bb691070e15514b64aae04d676ca
Contents?: true
Size: 723 Bytes
Versions: 70
Compression:
Stored size: 723 Bytes
Contents
require 'test_helper' require 'sequel' Sequel::Model.db = Sequel.sqlite(':memory:') Sequel.extension :migration, :core_extensions require 'flipper/adapters/sequel' require 'generators/flipper/templates/sequel_migration' class SequelTest < MiniTest::Test prepend Flipper::Test::SharedAdapterTests def feature_class Flipper::Adapters::Sequel::Feature end def gate_class Flipper::Adapters::Sequel::Gate end def setup CreateFlipperTablesSequel.new(Sequel::Model.db).up feature_class.dataset = feature_class.dataset gate_class.dataset = gate_class.dataset @adapter = Flipper::Adapters::Sequel.new end def teardown CreateFlipperTablesSequel.new(Sequel::Model.db).down end end
Version data entries
70 entries across 70 versions & 1 rubygems