1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/features/support
Matt Brictson b83a39bd86
Fix cucumber puts deprecation warnings (#2075)
Cucumber has deprecated `puts` in favor of `log` for logging messages to
the current cucumber formatter. In our case we actually want it both
ways: we want to log messages using the cucumber formatter when cucumber
is running, but use `Kernel#puts` otherwise.

So, use `respond_to?` to see if cucumber's `log` is available, and if
not, fall back to `puts`.
2021-01-18 08:24:12 -08:00
..
env.rb Fix Style/StringLiterals 2016-02-28 17:56:07 -06:00
remote_command_helpers.rb Adds acceptance test for rollback feature. (#1891) 2017-07-04 19:02:58 -07:00
vagrant_helpers.rb Fix cucumber puts deprecation warnings (#2075) 2021-01-18 08:24:12 -08:00