Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-24 12:33:01 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-07-24 12:33:01 +0300
commit8657d5dd8af6c365b41d7c2997e6e5c9e18e8241 (patch)
tree3d7918aafff40e28f29e7c8bfaaa421c8a75ec17 /spec/models/commit_status_spec.rb
parentd3814ad69876c69cdab574e2958368f2ab648171 (diff)
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.rb12
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