class RailsNewApp::TestRunnerProcessor
Public Instance Methods
configure(config)
click to toggle source
# File lib/rails-new-app/processors/test_runner_processor.rb, line 9 def configure(config) puts "Processing test runner config" case config[:test_runner][:key] when "rspec" then apply_template "rspec-rails-config" end end
update_gemfile(config)
click to toggle source
# File lib/rails-new-app/processors/test_runner_processor.rb, line 3 def update_gemfile(config) case config[:test_runner][:key] when "rspec" then apply_template "rspec-rails-gemfile" end end