diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-24 11:33:01 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-07-24 11:33:01 +0200 |
commit | 8657d5dd8af6c365b41d7c2997e6e5c9e18e8241 (patch) | |
tree | 3d7918aafff40e28f29e7c8bfaaa421c8a75ec17 /spec/models/commit_status_spec.rb | |
parent | d3814ad69876c69cdab574e2958368f2ab648171 (diff) | |
download | gitlab-ce-8657d5dd8af6c365b41d7c2997e6e5c9e18e8241.tar.gz |
Do not implement CI/CD job to stage association yet
Diffstat (limited to 'spec/models/commit_status_spec.rb')
-rw-r--r-- | spec/models/commit_status_spec.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/models/commit_status_spec.rb b/spec/models/commit_status_spec.rb index f54e1131813..f173e2c142a 100644 --- a/spec/models/commit_status_spec.rb +++ b/spec/models/commit_status_spec.rb @@ -408,18 +408,6 @@ describe CommitStatus, :models do end end - describe '#stage_entity' do - let(:stage) { create(:ci_stage_entity) } - - let(:commit_status) do - create(:commit_status, stage_id: stage.id) - end - - it 'has a correct association with persisted stage' do - expect(commit_status.stage_entity).to eq stage - end - end - describe '#locking_enabled?' do before do commit_status.lock_version = 100 |