Sha256: d0d539a794c4c1612d885494c2ad0efc899451e82f7ec429e7b12b0c7af78311
Contents?: true
Size: 488 Bytes
Versions: 33
Compression:
Stored size: 488 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 Spree::Config[:max_level_in_taxons_menu] = 5 visit spree.root_path expect(cache_writes.count).to eq(1) end end
Version data entries
33 entries across 33 versions & 2 rubygems