Skip to content

Commit

Permalink
Merge pull request #110 from tjouan/cucumber-posix_step-bsd
Browse files Browse the repository at this point in the history
Update cucumber POSIX step for *BSD platforms

Patch by Thibault Jouan. Thanks!!!
  • Loading branch information
kou committed Apr 2, 2015
2 parents 9019188 + 60589f9 commit 761c393
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/step_definitions/cross_compilation.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Naive way of looking into platforms, please include others like FreeBSD?
# Naive way of looking into platforms
Given %r{^I'm running a POSIX operating system$} do
unless RbConfig::CONFIG['host_os'] =~ /linux|darwin/ then
unless RbConfig::CONFIG['host_os'] =~ /linux|darwin|bsd|dragonfly/ then
raise Cucumber::Pending.new("You need a POSIX operating system, no cheating ;-)")
end
end
Expand Down

0 comments on commit 761c393

Please sign in to comment.