spec/nanoc/base/services/outdatedness_checker_spec.rb in nanoc-4.8.11 vs spec/nanoc/base/services/outdatedness_checker_spec.rb in nanoc-4.8.12

- old
+ new

@@ -40,11 +40,11 @@ data_source: Nanoc::Int::InMemDataSource.new([], []), ) end let(:action_sequence_store) do - Nanoc::Int::ActionSequenceStore.new + Nanoc::Int::ActionSequenceStore.new(site: site) end let(:old_action_sequence_for_item_rep) do Nanoc::Int::ActionSequence.build(item_rep) do |b| b.add_filter(:erb, {}) @@ -72,11 +72,11 @@ describe 'basic outdatedness reasons' do subject { outdatedness_checker.send(:basic).outdatedness_status_for(obj).reasons.first } let(:checksum_store) { Nanoc::Int::ChecksumStore.new(objects: items.to_a + layouts.to_a) } - let(:config) { Nanoc::Int::Configuration.new } + let(:config) { Nanoc::Int::Configuration.new.with_defaults } before do checksum_store.add(item) allow(site).to receive(:code_snippets).and_return([]) @@ -180,10 +180,10 @@ let(:checksum_store) { Nanoc::Int::ChecksumStore.new(objects: items.to_a + layouts.to_a) } let(:other_item) { Nanoc::Int::Item.new('other stuff', {}, '/other.md') } let(:other_item_rep) { Nanoc::Int::ItemRep.new(other_item, :default) } - let(:config) { Nanoc::Int::Configuration.new } + let(:config) { Nanoc::Int::Configuration.new.with_defaults } let(:items) { Nanoc::Int::ItemCollection.new(config, [item, other_item]) } let(:old_action_sequence_for_other_item_rep) do Nanoc::Int::ActionSequence.build(other_item_rep) do |b|