Sha256: 56086c7366aaa3444622ba85872ff36a1e673f1c6be997d051080ad37b777066
Contents?: true
Size: 556 Bytes
Versions: 8
Compression:
Stored size: 556 Bytes
Contents
require 'test_helper' require 'flipper/adapters/active_record' require 'generators/flipper/templates/migration' # Turn off migration logging for specs ActiveRecord::Migration.verbose = false class ActiveRecordTest < MiniTest::Test prepend Flipper::Test::SharedAdapterTests ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:') def setup @adapter = Flipper::Adapters::ActiveRecord.new CreateFlipperTables.up end def teardown CreateFlipperTables.down end end
Version data entries
8 entries across 8 versions & 1 rubygems