Sha256: 588e4adfb19a41969da97bac848a96385d01fa4bac94b7ec4e3968e55dece7e6

Contents?: true

Size: 426 Bytes

Versions: 9

Compression:

Stored size: 426 Bytes

Contents

require 'spec_helper'

describe Cacher::Partial::None do
  
  it "has the right superclass" do
    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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
picky-1.4.1 spec/lib/cacher/partial/none_spec.rb
picky-1.4.0 spec/lib/cacher/partial/none_spec.rb
picky-1.3.4 spec/lib/cacher/partial/none_spec.rb
picky-1.3.3 spec/lib/cacher/partial/none_spec.rb
picky-1.3.2 spec/lib/cacher/partial/none_spec.rb
picky-1.3.1 spec/lib/cacher/partial/none_spec.rb
picky-1.3.0 spec/lib/cacher/partial/none_spec.rb
picky-1.2.4 spec/lib/cacher/partial/none_spec.rb
picky-1.2.3 spec/lib/cacher/partial/none_spec.rb