diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-21 10:08:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-21 10:08:36 +0300 |
commit | 48aff82709769b098321c738f3444b9bdaa694c6 (patch) | |
tree | e00c7c43e2d9b603a5a6af576b1685e400410dee /spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb | |
parent | 879f5329ee916a948223f8f43d77fba4da6cd028 (diff) |
Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.0-rc42
Diffstat (limited to 'spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb')
-rw-r--r-- | spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb b/spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb index db5e9461f3f..0df1af3b10a 100644 --- a/spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb +++ b/spec/support/shared_examples/lib/gitlab/ci/ci_trace_shared_examples.rb @@ -227,7 +227,7 @@ RSpec.shared_examples 'common trace features' do let(:token) { 'my_secret_token' } before do - build.project.update(runners_token: token) + build.project.update!(runners_token: token) trace.append(token, 0) end @@ -240,7 +240,7 @@ RSpec.shared_examples 'common trace features' do let(:token) { 'my_secret_token' } before do - build.update(token: token) + build.update!(token: token) trace.append(token, 0) end @@ -531,7 +531,7 @@ RSpec.shared_examples 'trace with disabled live trace feature' do context "when erase old trace with 'save'" do before do build.send(:write_attribute, :trace, nil) - build.save + build.save # rubocop:disable Rails/SaveBang end it 'old trace is not deleted' do |