Sha256: 7913dd4153101a9326c1a78955de5791602f3e6aa0ba3fb690d65212fb6e89f6
Contents?: true
Size: 554 Bytes
Versions: 34
Compression:
Stored size: 554 Bytes
Contents
# encoding: utf-8 # require 'spec_helper' describe Picky::Generators::Similarity::None do before(:each) do @similarity = described_class.new end describe "saved?" do it "returns the right answer" do @similarity.saved?.should == false end 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
34 entries across 34 versions & 1 rubygems