Sha256: 4495e6379d9ca7fc9ecfbe35ea37a95d242d5d1f41f54a5a97b50459828f6baf

Contents?: true

Size: 378 Bytes

Versions: 2

Compression:

Stored size: 378 Bytes

Contents

require 'spec_helper'

describe Generators::Partial::Default do
  
  let(:default) { Generators::Partial::Default }
  
  it "should be a subtoken" do
    default.should be_kind_of(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

2 entries across 2 versions & 1 rubygems

Version Path
picky-2.7.0 spec/lib/generators/partial/default_spec.rb
picky-2.6.0 spec/lib/generators/partial/default_spec.rb