Permalink
Browse files

Remove 'assigned but unused variable' warning

Ruby 2.0.0-preview2
  • Loading branch information...
1 parent 0cbaa39 commit 74e3c839d7852a67b4c9ac176fe7103b88df96de @sanemat sanemat committed Dec 22, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_girl_friday.rb
View
@@ -9,8 +9,8 @@ class TestGirlFriday < MiniTest::Unit::TestCase
describe '.status' do
before do
- q1 = GirlFriday::Queue.new(:q1) do; end
- q2 = GirlFriday::Queue.new(:q2) do; end
+ GirlFriday::Queue.new(:q1) do; end
+ GirlFriday::Queue.new(:q2) do; end
end
it 'provides a status structure for each live queue' do
hash = GirlFriday.status
@@ -22,8 +22,8 @@ class TestGirlFriday < MiniTest::Unit::TestCase
describe '.shutdown!' do
before do
- q1 = GirlFriday::Queue.new(:q1) do; end
- q2 = GirlFriday::Queue.new(:q2) do; end
+ GirlFriday::Queue.new(:q1) do; end
+ GirlFriday::Queue.new(:q2) do; end
end
it 'provides a status structure for each live queue' do
a = Time.now

0 comments on commit 74e3c83

Please sign in to comment.