diff options
author | Kouhei Sutou <kou@cozmixng.org> | 2015-04-02 21:26:00 +0900 |
---|---|---|
committer | Kouhei Sutou <kou@cozmixng.org> | 2015-04-02 21:26:00 +0900 |
commit | 761c393f267bc05f58e03bf47d286f6b3e66bd82 (patch) | |
tree | a0a72e58e079f21d07e80a53517c7af28b6b8bca | |
parent | 9019188a621fe9f05ac3e9b657f7fb72dbc9d009 (diff) | |
parent | 60589f9b1546435fdf62df21866ed6ee58fef028 (diff) | |
download | rake-compiler-761c393f267bc05f58e03bf47d286f6b3e66bd82.tar.gz |
Merge pull request #110 from tjouan/cucumber-posix_step-bsd
Update cucumber POSIX step for *BSD platforms
Patch by Thibault Jouan. Thanks!!!
-rw-r--r-- | features/step_definitions/cross_compilation.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/step_definitions/cross_compilation.rb b/features/step_definitions/cross_compilation.rb index 46242aa..ce7d300 100644 --- a/features/step_definitions/cross_compilation.rb +++ b/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 |