Module: Arfy::ApplicationFaker

Defined in:
lib/arfy/environment.rb

Instance Method Summary collapse

Instance Method Details

#configObject



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_seedObject



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

#pathsObject



160
161
162
# File 'lib/arfy/environment.rb', line 160

def paths
  Environment.new.configured_paths
end