class RailsNewApp::TestFakeDataProcessor

Public Instance Methods

update_gemfile(config) click to toggle source
# File lib/rails-new-app/processors/test_fake_data_processor.rb, line 3
def update_gemfile(config)
  return if config[:test_runner][:key] == ""

  case config[:test_fake_data][:key]
  when "faker" then apply_template "faker-gemfile"
  end
end