Skip to content

Commit

Permalink
Update cucumber POSIX step for *BSD platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault Jouan committed Apr 1, 2015
1 parent 9019188 commit 60589f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/step_definitions/cross_compilation.rb
@@ -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 60589f9

Please sign in to comment.