screen_test/elements/box.rb in whirled_peas-0.9.1 vs screen_test/elements/box.rb in whirled_peas-0.10.0

- old
+ new

@@ -1,9 +1,9 @@ require 'whirled_peas' class TemplateFactory def build(*) - WhirledPeas.template do |composer| + WhirledPeas.template(:test) do |composer| composer.add_box('Container') do |composer, settings| composer.add_box do |composer, settings| settings.flow = :t2b composer.add_box('TopLeft') { "TOP LEFT" } composer.add_box('BottomLeft') { "BOTTOM LEFT" }