diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-06-14 20:54:59 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-06-14 21:01:15 +0300 |
commit | 338d9b257ecfa6f088daaeb9d93ea8991f8965d0 (patch) | |
tree | 5d46c40b24dbb0626d5b672de34d555dec073b71 /spec/lib/banzai/reference_parser | |
parent | 5771b946c2e68fd4b9a8ff040c168b568b68a586 (diff) |
Don't return nil for missing objects from parser cache
Diffstat (limited to 'spec/lib/banzai/reference_parser')
-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?). |