Sha256: 99e047b1eaef6936a5a48b565380313040698f7fbf3e83b1edc889e1c93bfb55
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
# frozen_string_literal: true module Bp3 module Core # Bp3::Core::Test provides a convenience class for testing Bp3::Core class Test # to test Ransackable include Ransackable def self.column_names %i[id name] end def self.reflect_on_all_associations [] end # to test Cookies # first define this: def self.before_action(_method_name); end # then include Cookies include Cookies # to test Displayable include Displayable # to test FeatureFlags include FeatureFlags # to test Rqid # first define this: def self.before_create(_method_name); end def self.belongs_to(_association, **options); end def self.scope(_scope_name, _lambda); end # then include Rqid include Rqid # to test Sqnr include Sqnr # to test Tenantable # first define this: def self.connection; end # then include Tenantable include Tenantable end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bp3-core-0.1.5 | lib/bp3/core/test.rb |
bp3-core-0.1.4 | lib/bp3/core/test.rb |
bp3-core-0.1.2 | lib/bp3/core/test.rb |