diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-13 10:39:07 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-09-13 14:35:18 +0300 |
commit | 6fe19ce96104e19677ae6583868016e3116687f3 (patch) | |
tree | 7d0f524f49809883b8adfa969c2fece77ed325a3 /spec/models/ci | |
parent | 718ece6d37b7b7a632aff34d32837b188d0b69a2 (diff) |
Fix job coverage specs
Diffstat (limited to 'spec/models/ci')
-rw-r--r-- | spec/models/ci/build_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/build_spec.rb b/spec/models/ci/build_spec.rb index 04620336f15..451968c7342 100644 --- a/spec/models/ci/build_spec.rb +++ b/spec/models/ci/build_spec.rb @@ -283,7 +283,7 @@ describe Ci::Build do let(:project_regex) { '\(\d+\.\d+\) covered' } before do - project.build_coverage_regex = project_regex + project.update_column(:build_coverage_regex, project_regex) end context 'and coverage_regex attribute is not set' do |