From 8d97fd45060761a7ca51730a0080e0120117d774 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Mon, 8 Feb 2010 20:36:14 -0300 Subject: [PATCH] Running cucumber with xvfb-run --- lib/tasks/test.rake | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake index 7d5241a..214aaa6 100644 --- a/lib/tasks/test.rake +++ b/lib/tasks/test.rake @@ -3,9 +3,5 @@ task 'test:units' => 'noosfero:doc:build' task 'test:functionals' => 'noosfero:doc:build' task :selenium do - if ENV['DISPLAY'].blank? - puts "I: Not running selenium tests, graphical environment is not available" - else - sh 'cucumber -p selenium' - end + sh 'xvfb-run cucumber -p selenium' end -- libgit2 0.21.2