summaryrefslogtreecommitdiff
path: root/features/support/hooks.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-07-08 11:00:40 +0200
committerAzul <azul@leap.se>2014-07-14 10:49:39 +0200
commit303ec07901af3798efc873cbe050aa5cb4ba7655 (patch)
tree4c9a2d33d2bf1b24233d115e74368a533acf7666 /features/support/hooks.rb
parent4dbfdf30c3235eb19e4f0ad959f65125ed18b39a (diff)
use cucumber; initial ConfigsController
Diffstat (limited to 'features/support/hooks.rb')
-rw-r--r--features/support/hooks.rb6
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