Sha256: 482f5282323376c3c85d5797dbe618eee78abc1db7438b59486a3217d6e160e2
Contents?: true
Size: 495 Bytes
Versions: 14
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe 'taxons', type: :feature, caching: true do let!(:taxonomy) { create(:taxonomy) } let!(:taxon) { create(:taxon, taxonomy: taxonomy) } before do # warm up the cache visit spree.root_path clear_cache_events end it "busts the cache when max_level_in_taxons_menu conf changes" do stub_spree_preferences(max_level_in_taxons_menu: 5) visit spree.root_path expect(cache_writes.count).to eq(1) end end
Version data entries
14 entries across 14 versions & 1 rubygems