From 26d1bd7a02d894ffff9300311e013355dc38a166 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 3 Aug 2023 23:37:45 -0600 Subject: modify with_content_spacer to accept units and fill color as options --- spec/spec_helper/helpers.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/spec_helper/helpers.rb b/spec/spec_helper/helpers.rb index a6a99bcd..6495a3b2 100644 --- a/spec/spec_helper/helpers.rb +++ b/spec/spec_helper/helpers.rb @@ -279,11 +279,11 @@ module RSpec::ExampleHelpers RSpec::ExampleGroupHelpers.windows? end - def with_content_spacer width, height, units = 'pt' + def with_content_spacer width, height, units: 'pt', fill: '#999999' contents = <<~END - + END -- cgit v1.2.3