summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/tasks/gitlab/test.rake11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/tasks/gitlab/test.rake b/lib/tasks/gitlab/test.rake
index 03b3fc5ea20..38fa8b1a208 100644
--- a/lib/tasks/gitlab/test.rake
+++ b/lib/tasks/gitlab/test.rake
@@ -1,4 +1,11 @@
namespace :gitlab do
- desc "GITLAB | Run both spinach and rspec"
- task test: ['spinach', 'spec']
+ desc "GITLAB | Run all tests"
+ task :test do
+ Rails.env = "test"
+ Rake::Task["db:setup"].invoke
+ Rake::Task["db:seed_fu"].invoke
+ Rake::Task["spinach"].invoke
+ Rake::Task["spec"].invoke
+ Rake::Task["jasmince:ci"].invoke
+ end
end