Sha256: 366842bd075a80d7f11b08fda183baf6ed44d91d341078b5f219b7b50e1ea87a

Contents?: true

Size: 432 Bytes

Versions: 27

Compression:

Stored size: 432 Bytes

Contents

# encoding: utf-8
#
require 'spec_helper'

describe Cacher::Similarity::None do

  before(:each) do
    @similarity = Cacher::Similarity::None.new
  end

  describe 'encode' do
    it 'should always return nil' do
      @similarity.encoded(:whatever).should == nil
    end
  end

  describe 'generate_from' do
    it 'should return an empty hash, always' do
      @similarity.generate_from(:anything).should == {}
    end
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
picky-0.11.1 spec/lib/cacher/similarity/none_spec.rb
picky-0.11.0 spec/lib/cacher/similarity/none_spec.rb
picky-0.10.5 spec/lib/cacher/similarity/none_spec.rb
picky-0.10.4 spec/lib/cacher/similarity/none_spec.rb
picky-0.10.2 spec/lib/cacher/similarity/none_spec.rb
picky-0.10.1 spec/lib/cacher/similarity/none_spec.rb
picky-0.10.0 spec/lib/cacher/similarity/none_spec.rb
picky-0.9.4 spec/lib/cacher/similarity/none_spec.rb
picky-0.9.3 spec/lib/cacher/similarity/none_spec.rb
picky-0.9.2 spec/lib/cacher/similarity/none_spec.rb
picky-0.9.1 spec/lib/cacher/similarity/none_spec.rb
picky-0.9.0 spec/lib/cacher/similarity/none_spec.rb
picky-0.3.0 spec/lib/cacher/similarity/none_spec.rb
picky-0.2.4 spec/lib/cacher/similarity/none_spec.rb
picky-0.2.3 spec/lib/cacher/similarity/none_spec.rb
picky-0.2.2 spec/lib/cacher/similarity/none_spec.rb
picky-0.2.1 spec/lib/cacher/similarity/none_spec.rb
picky-0.2.0 spec/lib/cacher/similarity/none_spec.rb
picky-0.1.0 spec/lib/cacher/similarity/none_spec.rb
picky-0.0.9 spec/lib/cacher/similarity/none_spec.rb