Sha256: 395cdaf580710bf572e804105aa83e5cea135f6bdbcdfd5aa807a55866c080a4

Contents?: true

Size: 512 Bytes

Versions: 132

Compression:

Stored size: 512 Bytes

Contents

require 'spec_helper'

describe Picky::Generators::Partial::None do
  
  it 'is not saved' do
    described_class.new.saved?.should == false
  end
  it "has the right superclass" do
    described_class.should < Picky::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

132 entries across 132 versions & 1 rubygems

Version Path
picky-4.5.5 spec/lib/generators/partial/none_spec.rb
picky-4.5.4 spec/lib/generators/partial/none_spec.rb
picky-4.5.3 spec/lib/generators/partial/none_spec.rb
picky-4.5.2 spec/lib/generators/partial/none_spec.rb
picky-4.5.1 spec/lib/generators/partial/none_spec.rb
picky-4.5.0 spec/lib/generators/partial/none_spec.rb
picky-4.4.2 spec/lib/generators/partial/none_spec.rb
picky-4.4.1 spec/lib/generators/partial/none_spec.rb
picky-4.4.0 spec/lib/generators/partial/none_spec.rb
picky-4.3.2 spec/lib/generators/partial/none_spec.rb
picky-4.3.1 spec/lib/generators/partial/none_spec.rb
picky-4.3.0 spec/lib/generators/partial/none_spec.rb
picky-4.2.4 spec/lib/generators/partial/none_spec.rb
picky-4.2.3 spec/lib/generators/partial/none_spec.rb
picky-4.2.2 spec/lib/generators/partial/none_spec.rb
picky-4.2.1 spec/lib/generators/partial/none_spec.rb
picky-4.2.0 spec/lib/generators/partial/none_spec.rb
picky-4.1.0 spec/lib/generators/partial/none_spec.rb
picky-4.0.9 spec/lib/generators/partial/none_spec.rb
picky-4.0.8 spec/lib/generators/partial/none_spec.rb