spec/rake/funnel/support/internal/finder_spec.rb in rake-funnel-0.22.2 vs spec/rake/funnel/support/internal/finder_spec.rb in rake-funnel-0.22.3

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + require 'tmpdir' describe Rake::Funnel::Support::Finder do # rubocop:disable RSpec/FilePath let(:pattern) { %W(#{temp_dir}/**/*.sln #{temp_dir}/**/*.??proj) } let(:generate) { [] } @@ -23,9 +25,10 @@ end def map_temp(*files) mapped = files.map { |f| File.join(temp_dir, f) } return mapped.first if mapped.one? + mapped end describe 'enumerable' do let(:generate) { %w(1 2 3 4) }