Commit b36751c89771d82f64635d4dccc624573d17c3c2
1 parent
f4b2cee6
Exists in
spb-stable
and in
3 other branches
Use VERSION contanst in backup specs
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
spec/tasks/gitlab/backup_rake_spec.rb
... | ... | @@ -32,7 +32,7 @@ describe 'gitlab:app namespace rake task' do |
32 | 32 | Rake::Task["gitlab:shell:setup"].stub invoke: true |
33 | 33 | end |
34 | 34 | |
35 | - let(:gitlab_version) { %x{git rev-parse HEAD}.gsub(/\n/,"") } | |
35 | + let(:gitlab_version) { Gitlab::VERSION } | |
36 | 36 | |
37 | 37 | it 'should fail on mismatch' do |
38 | 38 | YAML.stub load_file: {gitlab_version: gitlab_version.reverse} | ... | ... |