Permalink
Browse files

Merge pull request #68 from sanemat/fix/warning-unused

Remove 'assigned but unused variable' warning
  • Loading branch information...
2 parents 0cbaa39 + 74e3c83 commit d5e0e01fbf91c1f7c7057093ab2c8ad860a82fc8 @jc00ke jc00ke committed Dec 23, 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 d5e0e01

Please sign in to comment.