Browse files

Merge pull request #25 from hannesg/test_cleanup

Test cleanup
  • Loading branch information...
2 parents 4f97583 + 29f8992 commit 162960a0bfcb2c138d6f222e932e9f74084e8a78 @reinh committed Dec 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 spec/helper.rb
  2. +1 −1 spec/statsd_spec.rb
View
2 spec/helper.rb
@@ -17,7 +17,7 @@ def send(message, *rest)
end
def recv
- res = @buffer.shift
+ @buffer.shift
end
def clear
View
2 spec/statsd_spec.rb
@@ -126,7 +126,7 @@ class Statsd
before { class << @statsd; def rand; 0; end; end } # ensure delivery
it "should format the message according to the statsd spec" do
- result = @statsd.time('foobar', 0.5) { 'test' }
+ @statsd.time('foobar', 0.5) { 'test' }
@socket.recv.must_equal ['foobar:0|ms|@0.5']
end
end

0 comments on commit 162960a

Please sign in to comment.