spec/lib/cacher/partial/substring_spec.rb in picky-1.2.2 vs spec/lib/cacher/partial/substring_spec.rb in picky-1.2.3
- old
+ new
@@ -4,9 +4,14 @@
context 'default from' do
before(:each) do
@cacher = Cacher::Partial::Substring.new
end
+ describe 'use_exact_for_partial?' do
+ it 'returns false' do
+ Cacher::Partial::Substring.new.use_exact_for_partial?.should == false
+ end
+ end
describe 'from' do
it 'should return the right value' do
@cacher.from.should == 1
end
end
\ No newline at end of file