diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-02 18:08:32 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-06-02 18:08:32 +0000 |
commit | f3e7bc80608c100227030030a6a601897f8e4ff9 (patch) | |
tree | 65afc2ae0ee2ccf7cf8d4efbf44077f816cade09 /spec/models/release_spec.rb | |
parent | eea1fbf9f980fed108601412b63e627d3eebd46d (diff) | |
download | gitlab-ce-f3e7bc80608c100227030030a6a601897f8e4ff9.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/models/release_spec.rb')
-rw-r--r-- | spec/models/release_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/release_spec.rb b/spec/models/release_spec.rb index d72fd137f3f..716e7dc786e 100644 --- a/spec/models/release_spec.rb +++ b/spec/models/release_spec.rb @@ -94,14 +94,6 @@ RSpec.describe Release do describe 'evidence' do let(:release_with_evidence) { create(:release, :with_evidence, project: project) } - describe '#create_evidence!' do - context 'when a release is created' do - it 'creates one Evidence object too' do - expect { release_with_evidence }.to change(Releases::Evidence, :count).by(1) - end - end - end - context 'when a release is deleted' do it 'also deletes the associated evidence' do release_with_evidence |