Commit 9f8d50e99699accc1898fad25eee5d536505682d
1 parent
fb71426c
Exists in
master
and in
4 other branches
gitlab:test rake task now includes jasmine and db setup
Showing
1 changed file
with
9 additions
and
2 deletions
Show diff stats
lib/tasks/gitlab/test.rake
| 1 | namespace :gitlab do | 1 | namespace :gitlab do |
| 2 | - desc "GITLAB | Run both spinach and rspec" | ||
| 3 | - task test: ['spinach', 'spec'] | 2 | + desc "GITLAB | Run all tests" |
| 3 | + task :test do | ||
| 4 | + Rails.env = "test" | ||
| 5 | + Rake::Task["db:setup"].invoke | ||
| 6 | + Rake::Task["db:seed_fu"].invoke | ||
| 7 | + Rake::Task["spinach"].invoke | ||
| 8 | + Rake::Task["spec"].invoke | ||
| 9 | + Rake::Task["jasmince:ci"].invoke | ||
| 10 | + end | ||
| 4 | end | 11 | end |