diff options
Diffstat (limited to 'features/support/hooks.rb')
-rw-r--r-- | features/support/hooks.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/features/support/hooks.rb b/features/support/hooks.rb new file mode 100644 index 0000000..360f231 --- /dev/null +++ b/features/support/hooks.rb @@ -0,0 +1,6 @@ +After('@tempfile') do + if @tempfile + @tempfile.close + @tempfile.unlink + end +end |