Sha256: cd4e5202e93c5a952c9fe4ff145656b8a2dfca392298fca9a0f69add7badec76

Contents?: true

Size: 358 Bytes

Versions: 8

Compression:

Stored size: 358 Bytes

Contents

require File.dirname(__FILE__) + '/../spec_helper'

describe Inkling::Path do

  # let(:foo) {ContentTypes::Foo.create(:name => "1")}
  # 
  # it "should update the path based on its parent" do
  #   foo2 = ContentTypes::Foo.create(:name => "2")
  #   foo2.path.move_to_child_of foo.path  
  #   foo2.save  
  #   foo2.path.slug.should == "/1/2"
  # end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
inkling-0.1.0 spec/models/path_spec.rb
inkling-0.0.9 spec/models/path_spec.rb
inkling-0.0.8 spec/models/path_spec.rb
inkling-0.0.7 spec/models/path_spec.rb
inkling-0.0.5 spec/models/path_spec.rb
inkling-0.0.4 spec/models/path_spec.rb
inkling-0.0.3a spec/models/path_spec.rb
inkling-0.0.3 spec/models/path_spec.rb