Commit b0a86cb3ba649ea959d05a972f6cd1d6798f86c9

Authored by Dmitriy Zaporozhets
1 parent 46cc3b22

Use gitlab:setup inside gitlab:test

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing 1 changed file with 2 additions and 3 deletions   Show diff stats
lib/tasks/gitlab/test.rake
... ... @@ -2,15 +2,14 @@ namespace :gitlab do
2 2 desc "GITLAB | Run all tests"
3 3 task :test do
4 4 cmds = [
5   - %W(rake db:setup),
6   - %W(rake db:seed_fu),
  5 + %W(rake gitlab:setup),
7 6 %W(rake spinach),
8 7 %W(rake spec),
9 8 %W(rake jasmine:ci)
10 9 ]
11 10  
12 11 cmds.each do |cmd|
13   - system({'RAILS_ENV' => 'test'}, *cmd)
  12 + system({'RAILS_ENV' => 'test', 'force' => 'yes'}, *cmd)
14 13  
15 14 raise "#{cmd} failed!" unless $?.exitstatus.zero?
16 15 end
... ...