diff options
Diffstat (limited to 'spec/lib/banzai/pipeline/post_process_pipeline_spec.rb')
-rw-r--r-- | spec/lib/banzai/pipeline/post_process_pipeline_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/pipeline/post_process_pipeline_spec.rb b/spec/lib/banzai/pipeline/post_process_pipeline_spec.rb index 072d77f4112..316f836654b 100644 --- a/spec/lib/banzai/pipeline/post_process_pipeline_spec.rb +++ b/spec/lib/banzai/pipeline/post_process_pipeline_spec.rb @@ -36,7 +36,7 @@ RSpec.describe Banzai::Pipeline::PostProcessPipeline, feature_category: :team_pl end let(:doc) { HTML::Pipeline.parse(html) } - let(:non_related_xpath_calls) { 2 } + let(:non_related_xpath_calls) { 1 } it 'searches for attributes only once' do expect(doc).to receive(:xpath).exactly(non_related_xpath_calls + 1).times |