Skip to content

Commit

Permalink
Fix broken tests are hup removal
Browse files Browse the repository at this point in the history
  • Loading branch information
raggi committed Sep 29, 2015
1 parent b156455 commit f0c0780
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/statsd_admin_spec.rb
Expand Up @@ -105,10 +105,10 @@ class Statsd::Admin
end
end

describe "#hup" do
describe "#connect" do
it "should reconnect" do
c = $connect_count
@admin.hup
@admin.connect
($connect_count - c).must_equal 1
end
end
Expand Down
4 changes: 2 additions & 2 deletions spec/statsd_spec.rb
Expand Up @@ -399,10 +399,10 @@ class Statsd::SomeOtherClass; end

end

describe "#hup" do
describe "#connect" do
it "should reconnect" do
c = $connect_count
@statsd.hup
@statsd.connect
($connect_count - c).must_equal 1
end
end
Expand Down

0 comments on commit f0c0780

Please sign in to comment.