engine/config/initializers/rspec_generator.rb

9 lines
248 B
Ruby
Raw Permalink Normal View History

if Rails.env.test? && defined?(Locomotive::Application) # does not need it for the engine version
Locomotive::Application.configure do
config.generators do |g|
g.integration_tool :rspec
g.test_framework :rspec
end
end
end