Sha256: 1f33dcf3b76b822b305a77c4541ac063d5395f1d3396f88a26558d8b84bcefd2
Contents?: true
Size: 547 Bytes
Versions: 2
Compression:
Stored size: 547 Bytes
Contents
# encoding: utf-8 # require 'spec_helper' describe 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
picky-2.7.0 | spec/lib/generators/similarity/none_spec.rb |
picky-2.6.0 | spec/lib/generators/similarity/none_spec.rb |