Class: FixturesFromFactories::Configuration
- Inherits:
-
Object
- Object
- FixturesFromFactories::Configuration
- Defined in:
- lib/fixtures_from_factories.rb
Overview
Configuration class for initializer
Instance Attribute Summary collapse
-
#devise_password_hash ⇒ Object
Returns the value of attribute devise_password_hash.
-
#excluded_tables ⇒ Object
Returns the value of attribute excluded_tables.
-
#factory_bot_definition_file_paths ⇒ Object
Returns the value of attribute factory_bot_definition_file_paths.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
26 27 28 29 30 |
# File 'lib/fixtures_from_factories.rb', line 26 def initialize @devise_password_hash = "$2a$11$M8e7PEPxv4JEx2JHLw4XnuvfVVafJjFb6DfMnODxSUy5WhIgfbF1y" # 'password' TODO: make this not use the hashed value but let it be hashed at creation time @excluded_tables = %w[schema_migrations spatial_ref_sys ar_internal_metadata] @factory_bot_definition_file_paths = nil end |
Instance Attribute Details
#devise_password_hash ⇒ Object
Returns the value of attribute devise_password_hash.
24 25 26 |
# File 'lib/fixtures_from_factories.rb', line 24 def devise_password_hash @devise_password_hash end |
#excluded_tables ⇒ Object
Returns the value of attribute excluded_tables.
24 25 26 |
# File 'lib/fixtures_from_factories.rb', line 24 def excluded_tables @excluded_tables end |
#factory_bot_definition_file_paths ⇒ Object
Returns the value of attribute factory_bot_definition_file_paths.
24 25 26 |
# File 'lib/fixtures_from_factories.rb', line 24 def factory_bot_definition_file_paths @factory_bot_definition_file_paths end |