Permalink
Browse files

Update cucumber POSIX step for *BSD platforms

  • Loading branch information...
1 parent 9019188 commit 60589f9b1546435fdf62df21866ed6ee58fef028 @tjouan tjouan committed Mar 25, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 60589f9

Please sign in to comment.