From dd2f1495f5980f07dd0b35be43d10dafb1fca612 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 24 Feb 2014 11:20:42 -0300 Subject: [PATCH] rails3: using test environment for cucumber task --- lib/tasks/test.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake index 791517d..ea3d124 100644 --- a/lib/tasks/test.rake +++ b/lib/tasks/test.rake @@ -19,7 +19,7 @@ AllTasks = TestTasks + CucumberTasks + NoosferoTasks task :test do errors = AllTasks.collect do |task| begin - CucumberTasks.include?(task) ? ENV['RAILS_ENV'] = 'cucumber' : ENV['RAILS_ENV'] = 'test' + ENV['RAILS_ENV'] = 'test' Rake::Task[task].invoke nil rescue => e -- libgit2 0.21.2