spec/datasets/pages_dataset.rb in radiant-0.7.2 vs spec/datasets/pages_dataset.rb in radiant-0.8.0
- old
+ new
@@ -49,8 +49,13 @@
create_page "Party" do
create_page_part "favors"
create_page_part "games"
create_page "Guests"
end
+ create_page "Recursive parts" do
+ create_page_part "recursive_body", :name => "body", :content => "<r:content />"
+ create_page_part "recursive_one", :name => "one", :content => '<r:content part="two" />'
+ create_page_part "recursive_two", :name => "two", :content => '<r:content part="one" />'
+ end
end
end
\ No newline at end of file