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-3.6.8 spec/lib/generators/partial/none_spec.rb
picky-3.6.7 spec/lib/generators/partial/none_spec.rb
picky-3.6.6 spec/lib/generators/partial/none_spec.rb
picky-3.6.4 spec/lib/generators/partial/none_spec.rb
picky-3.6.3 spec/lib/generators/partial/none_spec.rb
picky-3.6.2 spec/lib/generators/partial/none_spec.rb
picky-3.6.1 spec/lib/generators/partial/none_spec.rb
picky-3.6.0 spec/lib/generators/partial/none_spec.rb
picky-3.5.4 spec/lib/generators/partial/none_spec.rb
picky-3.5.3 spec/lib/generators/partial/none_spec.rb
picky-3.5.2 spec/lib/generators/partial/none_spec.rb
picky-3.5.1 spec/lib/generators/partial/none_spec.rb