Skip to content

Commit

Permalink
Typo. I forgot String#any? doesn't exist.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed Feb 24, 2019
1 parent b269c81 commit 3895fcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/fpm/package/cpan_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.warn("Skipping CPAN#input tests because 'cpanm' isn't in your PATH")
end

is_travis = ENV["TRAVIS_JOB_NAME"] && ENV["TRAVIS_JOB_NAME"].any?
is_travis = ENV["TRAVIS_OS_NAME"] && !ENV["TRAVIS_OS_NAME"].empty?

describe FPM::Package::CPAN, :if => have_cpanm do
subject { FPM::Package::CPAN.new }
Expand Down
2 changes: 1 addition & 1 deletion spec/fpm/package/python_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def python_usable?
"'python' and/or 'easy_install' isn't in your PATH")
end

is_travis = ENV["TRAVIS_JOB_NAME"] && ENV["TRAVIS_JOB_NAME"].any?
is_travis = ENV["TRAVIS_OS_NAME"] && !ENV["TRAVIS_OS_NAME"].empty?

# Determine default value of a given easy_install's option
def easy_install_default(python_bin, option)
Expand Down

0 comments on commit 3895fcc

Please sign in to comment.