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.0.7 spec/lib/generators/partial/none_spec.rb
picky-4.0.6 spec/lib/generators/partial/none_spec.rb
picky-4.0.5 spec/lib/generators/partial/none_spec.rb
picky-4.0.4 spec/lib/generators/partial/none_spec.rb
picky-4.0.3 spec/lib/generators/partial/none_spec.rb
picky-4.0.1 spec/lib/generators/partial/none_spec.rb
picky-4.0.0 spec/lib/generators/partial/none_spec.rb
picky-4.0.0pre6 spec/lib/generators/partial/none_spec.rb
picky-4.0.0pre5 spec/lib/generators/partial/none_spec.rb
picky-4.0.0pre3 spec/lib/generators/partial/none_spec.rb
picky-4.0.0pre2 spec/lib/generators/partial/none_spec.rb
picky-4.0.0pre1 spec/lib/generators/partial/none_spec.rb
picky-3.6.16 spec/lib/generators/partial/none_spec.rb
picky-3.6.15 spec/lib/generators/partial/none_spec.rb
picky-3.6.14 spec/lib/generators/partial/none_spec.rb
picky-3.6.13 spec/lib/generators/partial/none_spec.rb
picky-3.6.12 spec/lib/generators/partial/none_spec.rb
picky-3.6.11 spec/lib/generators/partial/none_spec.rb
picky-3.6.10 spec/lib/generators/partial/none_spec.rb
picky-3.6.9 spec/lib/generators/partial/none_spec.rb