gitlab:test rake task now includes jasmine and db setup

This commit is contained in:
Dmitriy Zaporozhets 2013-09-29 17:43:33 +03:00
parent fb71426cdb
commit 9f8d50e996
1 changed files with 9 additions and 2 deletions

View File

@ -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