Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Remove 'assigned but unused variable' warning #68

Merged
merged 1 commit into from

2 participants

@sanemat

Ruby 2.0.0-preview2

@jc00ke jc00ke merged commit d5e0e01 into mperham:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 22, 2012
  1. @sanemat

    Remove 'assigned but unused variable' warning

    sanemat authored
    Ruby 2.0.0-preview2
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_girl_friday.rb
View
8 test/test_girl_friday.rb
@@ -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
Something went wrong with that request. Please try again.