diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2017-06-15 11:19:13 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-06-15 18:46:58 +0300 |
commit | c46a92a9837b39eab27982e9c59f72b78ab29447 (patch) | |
tree | 35ab21b0a2bdba976a538d501d450c157730bd4a /spec | |
parent | 0d9311624754fbc3e0b8f4a28be576e48783bf81 (diff) |
Merge branch 'dm-fix-parser-cache' into 'master'
Don't return nil for missing objects from parser cache
See merge request !12168
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/banzai/reference_parser/base_parser_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/reference_parser/base_parser_spec.rb b/spec/lib/banzai/reference_parser/base_parser_spec.rb index f4f42bfc3ed..76fab93821a 100644 --- a/spec/lib/banzai/reference_parser/base_parser_spec.rb +++ b/spec/lib/banzai/reference_parser/base_parser_spec.rb @@ -114,7 +114,7 @@ describe Banzai::ReferenceParser::BaseParser, lib: true do expect(hash).to eq({ link => user }) end - it 'returns an empty Hash when entry does not exist in the database' do + it 'returns an empty Hash when entry does not exist in the database', :request_store do link = double(:link) expect(link).to receive(:has_attribute?). |