diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-11-06 16:19:23 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-11-07 07:38:01 +0300 |
commit | 065af93d6ba94555857e7e9f2b55c5fba44ed302 (patch) | |
tree | 5b65dec0893274f29130077079cdb3897ff27b97 /spec/models/environment_status_spec.rb | |
parent | 060c56870a16d5a17e4c21926110228970665aaa (diff) |
Fix spec coding style
Diffstat (limited to 'spec/models/environment_status_spec.rb')
-rw-r--r-- | spec/models/environment_status_spec.rb | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/spec/models/environment_status_spec.rb b/spec/models/environment_status_spec.rb index f9578da5032..a88c6203b52 100644 --- a/spec/models/environment_status_spec.rb +++ b/spec/models/environment_status_spec.rb @@ -109,7 +109,11 @@ describe EnvironmentStatus do let(:pipeline) { create(:ci_pipeline, sha: sha, project: forked) } let(:merge_request) do - create(:merge_request, source_project: forked, target_project: project, target_branch: 'master', head_pipeline: pipeline) + create(:merge_request, + source_project: forked, + target_project: project, + target_branch: 'master', + head_pipeline: pipeline) end it 'returns environment status' do @@ -126,7 +130,12 @@ describe EnvironmentStatus do let(:pipeline) { create(:ci_pipeline, sha: sha, project: project) } let(:merge_request) do - create(:merge_request, source_project: project, source_branch: 'feature', target_project: project, target_branch: 'master', head_pipeline: pipeline) + create(:merge_request, + source_project: project, + source_branch: 'feature', + target_project: project, + target_branch: 'master', + head_pipeline: pipeline) end it 'returns environment status' do |