Sha256: 655b241026a48e4881c290d60a10f17dfdde294ddb74fe01c019344849de08df

Contents?: true

Size: 399 Bytes

Versions: 133

Compression:

Stored size: 399 Bytes

Contents

require 'spec_helper'

describe Picky::Generators::Partial::Default do
  
  let(:default) { Picky::Generators::Partial::Default }
  
  it "should be a subtoken" do
    default.should be_kind_of(Picky::Generators::Partial::Substring)
  end
  it "should be a the right down to" do
    default.from.should == -3
  end
  it "should be a the right starting at" do
    default.to.should == -1
  end
  
end

Version data entries

133 entries across 133 versions & 1 rubygems

Version Path
picky-4.12.6 spec/lib/generators/partial/default_spec.rb
picky-4.12.5 spec/lib/generators/partial/default_spec.rb
picky-4.12.4 spec/lib/generators/partial/default_spec.rb
picky-4.12.3 spec/lib/generators/partial/default_spec.rb
picky-4.12.2 spec/lib/generators/partial/default_spec.rb
picky-4.12.1 spec/lib/generators/partial/default_spec.rb
picky-4.12.0 spec/lib/generators/partial/default_spec.rb
picky-4.11.3 spec/lib/generators/partial/default_spec.rb
picky-4.11.2 spec/lib/generators/partial/default_spec.rb
picky-4.11.1 spec/lib/generators/partial/default_spec.rb
picky-4.11.0 spec/lib/generators/partial/default_spec.rb
picky-4.10.0 spec/lib/generators/partial/default_spec.rb
picky-4.9.0 spec/lib/generators/partial/default_spec.rb
picky-4.8.1 spec/lib/generators/partial/default_spec.rb
picky-4.8.0 spec/lib/generators/partial/default_spec.rb
picky-4.7.0 spec/lib/generators/partial/default_spec.rb
picky-4.6.6 spec/lib/generators/partial/default_spec.rb
picky-4.6.5 spec/lib/generators/partial/default_spec.rb
picky-4.6.4 spec/lib/generators/partial/default_spec.rb
picky-4.6.3 spec/lib/generators/partial/default_spec.rb