diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-27 09:08:52 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-27 09:08:52 +0000 |
commit | f21cc604361860172f69e8f8bf5d1d471c7aefb0 (patch) | |
tree | 90defdd7b9e2bfa93ee5e93db850f39c685f75f5 /spec | |
parent | 9939362c41f541ea0dbd85cb4b4d2e1be4aed4d8 (diff) | |
download | gitlab-ce-f21cc604361860172f69e8f8bf5d1d471c7aefb0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/ci/create_pipeline_service_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/ci/create_pipeline_service_spec.rb b/spec/services/ci/create_pipeline_service_spec.rb index 065c73e104b..a9dc9d8afa6 100644 --- a/spec/services/ci/create_pipeline_service_spec.rb +++ b/spec/services/ci/create_pipeline_service_spec.rb @@ -2231,8 +2231,8 @@ RSpec.describe Ci::CreatePipelineService do end context 'when outside freeze period' do - Timecop.freeze(2020, 4, 10, 22, 59) do - it 'creates two jobs' do + it 'creates two jobs' do + Timecop.freeze(2020, 4, 10, 22, 59) do expect(pipeline).to be_persisted expect(build_names).to contain_exactly('test-job', 'deploy-job') end @@ -2265,8 +2265,8 @@ RSpec.describe Ci::CreatePipelineService do end context 'when outside freeze period' do - Timecop.freeze(2020, 4, 10, 22, 59) do - it 'creates two jobs' do + it 'creates two jobs' do + Timecop.freeze(2020, 4, 10, 22, 59) do expect(pipeline).to be_persisted expect(build_names).to contain_exactly('deploy-job') end |