Skip to content

Commit

Permalink
Moved @requires-bash before hook to hooks.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrasimplicity committed May 19, 2018
1 parent 9f97f96 commit 2210189
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 4 additions & 0 deletions features/step_definitions/hooks.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,3 +136,7 @@
skip_this_scenario
end
end

Before('@requires-bash') do |scenario|
skip_this_scenario unless Aruba.platform.which('bash')
end
4 changes: 0 additions & 4 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,4 @@

# set environment variable so child processes will merge their coverage data with parent process's coverage data.
ENV['RUBYOPT'] = "-r#{simplecov_setup_pathname} #{ENV['RUBYOPT']}"
end

Before('@requires-bash') do |scenario|
skip_this_scenario unless Aruba.platform.which('bash')
end

0 comments on commit 2210189

Please sign in to comment.