spec: add a pause
helper
This commit is contained in:
parent
d050b9dc07
commit
e870ba186f
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ module FeatureHelpers
|
|||
def blur
|
||||
page.find('body').click
|
||||
end
|
||||
|
||||
def pause
|
||||
$stderr.write 'Spec paused. Press enter to continue:'
|
||||
$stdin.gets
|
||||
end
|
||||
end
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
|
Loading…
Reference in a new issue