aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorErick Sasse <esasse@gmail.com>2015-07-20 23:07:49 -0300
committerErick Sasse <esasse@gmail.com>2015-07-20 23:07:49 -0300
commitdf8ca477b7e8cc0da29ea241a50f5551855b9e70 (patch)
tree8a6430699a8c8124c91f9e9735e6d6f005b08a1f /spec
parente41b513444bb599a3b691f0fa10adff4a2ac199f (diff)
downloadbundler-df8ca477b7e8cc0da29ea241a50f5551855b9e70.tar.gz
Fix Lint/UnusedBlockArgument
Diffstat (limited to 'spec')
-rw-r--r--spec/commands/check_spec.rb2
-rw-r--r--spec/support/helpers.rb2
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