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