spec: add a pause helper

This commit is contained in:
Paul Chavard 2019-06-04 15:06:59 +02:00 committed by Pierre de La Morinerie
parent d050b9dc07
commit e870ba186f

View file

@ -62,6 +62,11 @@ module FeatureHelpers
def blur def blur
page.find('body').click page.find('body').click
end end
def pause
$stderr.write 'Spec paused. Press enter to continue:'
$stdin.gets
end
end end
RSpec.configure do |config| RSpec.configure do |config|