matrix_test.rb in capybara-screenshot-diff-0.4.0 vs matrix_test.rb in capybara-screenshot-diff-0.5.0
- old
+ new
@@ -41,10 +41,10 @@
system "ruby-install --no-reinstall #{ruby}" || exit(1)
bundler_gem_check_cmd = "chruby-exec #{ruby} -- gem query -i -n bundler >/dev/null"
system "#{bundler_gem_check_cmd} || chruby-exec #{ruby} -- gem install bundler" || exit(1)
travis['gemfile'].each do |gemfile|
if (travis['matrix']['exclude'].to_a + travis['matrix']['allowed_failures'].to_a)
- .any? { |f| f['rvm'] == ruby && f['gemfile'] == gemfile }
+ .any? { |f| f['rvm'] == ruby && f['gemfile'] == gemfile }
puts 'Skipping known failure.'
next
end
use_gemfile(ruby, gemfile, update_gemfiles) do
travis['env'].each do |env|