Sha256: df3542101d985a3fa26afd8a5fa3a4f5f601c5b95e14a99a41fcbcddcbddd589

Contents?: true

Size: 438 Bytes

Versions: 2

Compression:

Stored size: 438 Bytes

Contents

require 'spec_helper'

describe Internals::Generators::Partial::None do
  
  it "has the right superclass" do
    described_class.should < Internals::Generators::Partial::Strategy
  end
  it "returns an empty index" do
    described_class.new.generate_from(:unimportant).should == {}
  end
  describe 'use_exact_for_partial?' do
    it 'returns true' do
      described_class.new.use_exact_for_partial?.should == true
    end
  end
  
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picky-1.4.3 spec/lib/internals/generators/partial/none_spec.rb
picky-1.4.2 spec/lib/internals/generators/partial/none_spec.rb