Permalink
Browse files

use /dev/stdout for more robust cucumber test

  • Loading branch information...
e2 committed Aug 6, 2016
1 parent 6d01a0f commit 55d97d4957ab5b1b25a195b659715450afb6309d
Showing with 5 additions and 2 deletions.
  1. +1 −1 features/api.feature
  2. +4 −1 features/support/env.rb
View
@@ -20,4 +20,4 @@ Feature: using Guard API
"""
Given I run `bundle exec rake`
Then the output should match /\[bar\] foo/
Then the output should match /bar\nfoo/
View
@@ -14,7 +14,10 @@
set_environment_variable(
"GUARD_NOTIFIERS",
"---\n- :name: :terminal_title\n :options: {}\n"
"---\n"\
"- :name: :file\n"\
" :options:\n"\
" :path: '/dev/stdout'\n"
)
end

0 comments on commit 55d97d4

Please sign in to comment.