Permalink
Browse files

Merge pull request #4 from augescens/master

Fix the GCounter spec.
  • Loading branch information...
2 parents 8903c6a + 9f1edd4 commit 06a1f55a0d537fc2c9d840be887cc5ca24273860 @aphyr committed May 26, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/meangirls/g_counter.rb
  2. +1 −1 spec/counter.rb
View
2 lib/meangirls/g_counter.rb
@@ -50,7 +50,7 @@ def clone
# Are any sums floating-point?
def float?
@e.any? do |k, v|
- v.float?
+ v.is_a? Float
end
end
View
2 spec/counter.rb
@@ -30,7 +30,7 @@
should '+' do
a = @s + 1
a.should.be.kind_of? Meangirls::Counter
- a.should == 1
+ a.should === 1
b = @class.new.increment('foo', 2)
b += 3

0 comments on commit 06a1f55

Please sign in to comment.