diff options
author | Erick Sasse <esasse@gmail.com> | 2015-07-20 23:07:49 -0300 |
---|---|---|
committer | Erick Sasse <esasse@gmail.com> | 2015-07-20 23:07:49 -0300 |
commit | df8ca477b7e8cc0da29ea241a50f5551855b9e70 (patch) | |
tree | 8a6430699a8c8124c91f9e9735e6d6f005b08a1f /spec | |
parent | e41b513444bb599a3b691f0fa10adff4a2ac199f (diff) | |
download | bundler-df8ca477b7e8cc0da29ea241a50f5551855b9e70.tar.gz |
Fix Lint/UnusedBlockArgument
Diffstat (limited to 'spec')
-rw-r--r-- | spec/commands/check_spec.rb | 2 | ||||
-rw-r--r-- | spec/support/helpers.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/check_spec.rb b/spec/commands/check_spec.rb index 1bd697f8..eb74bd80 100644 --- a/spec/commands/check_spec.rb +++ b/spec/commands/check_spec.rb @@ -207,7 +207,7 @@ describe "bundle check" do simulate_new_machine bundle "check" last_out = out - 3.times do |i| + 3.times do bundle :check expect(out).to eq(last_out) expect(err).to be_empty diff --git a/spec/support/helpers.rb b/spec/support/helpers.rb index 23823b4b..58121f40 100644 --- a/spec/support/helpers.rb +++ b/spec/support/helpers.rb @@ -365,7 +365,7 @@ module Spec ENV[k] = v end block.call if block_given? - env_hash.each do |k, v| + env_hash.each do |k, _| ENV[k] = current_values[k] end end |