diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-17 15:09:03 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-03-17 15:09:03 +0000 |
commit | cb840235d7fb4001dab266c614bd2cf59036fe18 (patch) | |
tree | b2c8cfa706d4e2c20dfe6d6e7936deeb3025352c /spec/models/release_spec.rb | |
parent | 359f9c9929177d6ea6c54c19b23959145f177a78 (diff) | |
download | gitlab-ce-cb840235d7fb4001dab266c614bd2cf59036fe18.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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/release_spec.rb b/spec/models/release_spec.rb index 209ac471210..540a8068b20 100644 --- a/spec/models/release_spec.rb +++ b/spec/models/release_spec.rb @@ -10,7 +10,7 @@ RSpec.describe Release do it { expect(release).to be_valid } describe 'associations' do - it { is_expected.to belong_to(:project) } + it { is_expected.to belong_to(:project).touch(true) } it { is_expected.to belong_to(:author).class_name('User') } it { is_expected.to have_many(:links).class_name('Releases::Link') } it { is_expected.to have_many(:milestones) } |