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.31.3 spec/lib/generators/partial/none_spec.rb
picky-4.31.2 spec/lib/generators/partial/none_spec.rb
picky-4.31.1 spec/lib/generators/partial/none_spec.rb
picky-4.31.0 spec/lib/generators/partial/none_spec.rb
picky-4.30.0 spec/lib/generators/partial/none_spec.rb
picky-4.29.0 spec/lib/generators/partial/none_spec.rb
picky-4.28.1 spec/lib/generators/partial/none_spec.rb
picky-4.27.1 spec/lib/generators/partial/none_spec.rb
picky-4.27.0 spec/lib/generators/partial/none_spec.rb
picky-4.26.2 spec/lib/generators/partial/none_spec.rb
picky-4.26.1 spec/lib/generators/partial/none_spec.rb
picky-4.26.0 spec/lib/generators/partial/none_spec.rb
picky-4.25.3 spec/lib/generators/partial/none_spec.rb
picky-4.25.2 spec/lib/generators/partial/none_spec.rb
picky-4.25.1 spec/lib/generators/partial/none_spec.rb
picky-4.25.0 spec/lib/generators/partial/none_spec.rb
picky-4.24.0 spec/lib/generators/partial/none_spec.rb
picky-4.23.2 spec/lib/generators/partial/none_spec.rb
picky-4.23.1 spec/lib/generators/partial/none_spec.rb
picky-4.23.0 spec/lib/generators/partial/none_spec.rb