diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-29 09:13:28 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-29 09:13:28 +0000 |
commit | dc90e040b1da4c089e90b21809a325d67ab2c5cb (patch) | |
tree | c894e6d6e008562db76151beb771a8c3ae3260ca /spec/models | |
parent | 6a4f265c940d3d0a9aeacf09222920d7d2cc4e45 (diff) | |
download | gitlab-ce-dc90e040b1da4c089e90b21809a325d67ab2c5cb.tar.gz |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/concerns/cache_markdown_field_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/models/concerns/cache_markdown_field_spec.rb b/spec/models/concerns/cache_markdown_field_spec.rb index 193144fcb0e..c46ebcf324c 100644 --- a/spec/models/concerns/cache_markdown_field_spec.rb +++ b/spec/models/concerns/cache_markdown_field_spec.rb @@ -209,8 +209,8 @@ describe CacheMarkdownField, :clean_gitlab_redis_cache do thing.cached_markdown_version += 1 end - it 'calls #refresh_markdown_cache' do - expect(thing).to receive(:refresh_markdown_cache) + it 'calls #refresh_markdown_cache!' do + expect(thing).to receive(:refresh_markdown_cache!) expect(thing.updated_cached_html_for(:description)).to eq(html) end @@ -227,8 +227,8 @@ describe CacheMarkdownField, :clean_gitlab_redis_cache do thing.try(:save) end - it 'does not call #refresh_markdown_cache' do - expect(thing).not_to receive(:refresh_markdown_cache) + it 'does not call #refresh_markdown_cache!' do + expect(thing).not_to receive(:refresh_markdown_cache!) expect(thing.updated_cached_html_for(:description)).to eq(html) end |