Sha256: dc797a00a5deb6a2bd7f11d7ca6dd9e3c2436326fce892cc69d2a7b5657d92d3

Contents?: true

Size: 271 Bytes

Versions: 2

Compression:

Stored size: 271 Bytes

Contents

require File.expand_path("../../spec_helper", __FILE__)

describe Page do
  its(:default_child){ should == Page}
  its(:allowed_children){ should == [Page, *Page.descendants.sort_by(&:name)].select(&:in_menu?).reject{|p| p.name =~ /Archive(Day|Month|Year)IndexPage/}}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-archive-extension-1.0.3 spec/models/page_spec.rb
radiant-archive-extension-1.0.2 spec/models/page_spec.rb