decidim-dev/lib/tasks/test_app.rake in decidim-0.6.5 vs decidim-dev/lib/tasks/test_app.rake in decidim-0.6.6

- old
+ new

@@ -5,12 +5,14 @@ namespace :decidim do desc "Generates a dummy app for testing" task :generate_test_app do dummy_app_path = File.expand_path(File.join(Dir.pwd, "spec", "decidim_dummy_app")) - Decidim::Generators::DummyGenerator.start( - [ - "--dummy_app_path=#{dummy_app_path}" - ] - ) + Bundler.with_clean_env do + Decidim::Generators::DummyGenerator.start( + [ + "--dummy_app_path=#{dummy_app_path}" + ] + ) + end end end