Module: Arfy::ApplicationFaker
- Defined in:
- lib/arfy/environment.rb
Instance Method Summary collapse
Instance Method Details
#config ⇒ Object
155 156 157 158 |
# File 'lib/arfy/environment.rb', line 155 def config @fake_config = Environment.new.augment(@fake_config, Arfy::ConfigFaker) @fake_config end |
#load_seed ⇒ Object
164 165 166 167 |
# File 'lib/arfy/environment.rb', line 164 def load_seed seed_file = paths["db/seeds"] load(seed_file) if File.exist?(seed_file) end |
#paths ⇒ Object
160 161 162 |
# File 'lib/arfy/environment.rb', line 160 def paths Environment.new.configured_paths end |