Commit e643c732 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch 'refactor-build-spec' into 'master'

Fix build spec duplication

See merge request gitlab-org/gitlab!28633
parents baec7677 3a795c24
......@@ -406,7 +406,6 @@ RSpec/RepeatedExample:
- 'spec/lib/gitlab/git/blob_spec.rb'
- 'spec/lib/gitlab/import_export/project/relation_factory_spec.rb'
- 'spec/models/ability_spec.rb'
- 'spec/models/ci/build_spec.rb'
- 'spec/models/concerns/issuable_spec.rb'
- 'spec/models/project_services/chat_message/pipeline_message_spec.rb'
- 'spec/routing/admin_routing_spec.rb'
......
---
title: Fix build duplicate spec
merge_request: 28633
author: Rajendra Kadam
type: added
......@@ -3337,7 +3337,7 @@ describe Ci::Build do
end
it "doesn't save timeout" do
expect { run_job_without_exception }.not_to change { job.reload.ensure_metadata.timeout_source }
expect { run_job_without_exception }.not_to change { job.reload.ensure_metadata.timeout }
end
it "doesn't save timeout_source" do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment