Browse Source

alter config to allow creating controllers from the command line with associated spec files that matches how we test

pull/1657/head
Arthur Campbell 3 years ago
parent
commit
c7f5eff0f7
  1. 9
      config/application.rb

9
config/application.rb

@ -41,5 +41,14 @@ module DataCollector
key: "_data_collector_session",
secure: (Rails.env.production? || Rails.env.staging? || Rails.env.review?)
)
config.generators do |g|
g.test_framework :rspec,
request_specs: true,
view_specs: false,
routing_specs: false,
helper_specs: false,
controller_specs: false
end
end
end

Loading…
Cancel
Save