spec/lib/cacher/partial/none_spec.rb in picky-1.2.2 vs spec/lib/cacher/partial/none_spec.rb in picky-1.2.3
- old
+ new
@@ -6,7 +6,12 @@
Cacher::Partial::None.should < Cacher::Partial::Strategy
end
it "returns an empty index" do
Cacher::Partial::None.new.generate_from(:unimportant).should == {}
end
+ describe 'use_exact_for_partial?' do
+ it 'returns true' do
+ Cacher::Partial::None.new.use_exact_for_partial?.should == true
+ end
+ end
end
\ No newline at end of file