screen_test/settings/width/grid.rb in whirled_peas-0.9.1 vs screen_test/settings/width/grid.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_grid('Wide') do |_, settings|
settings.full_border
settings.width = 6
settings.num_cols = 2
6.times.map { '6' }