Sha256: 3a6970bc0861ab857d92f643375902d574caa7cea3fc02cca3bcff6e8a40292f
Contents?: true
Size: 558 Bytes
Versions: 24
Compression:
Stored size: 558 Bytes
Contents
# encoding: utf-8 # require 'spec_helper' describe Internals::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
24 entries across 24 versions & 1 rubygems