gitlab:test rake task now includes jasmine and db setup
This commit is contained in:
parent
fb71426cdb
commit
9f8d50e996
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue