Fixed thing == <not a Thing> bug #19

Merged
merged 1 commit into from Jan 31, 2014

Projects

None yet

2 participants

@spharris

Fixed a bug where comparing objects of type Thing is compared to anything else (i.e. Nil) would cause NoMethodError. Now it just returns false.

The actual changes are in lib/redditkit/thing.rb and spec/redditkit/thing_spec.rb. This is my first time doing this so it looks like a bunch of other changes from the VCR files came along for the ride... sorry about that.

@samsymons samsymons merged commit e2f9b88 into samsymons:master Jan 31, 2014

1 check failed

Details default The Travis CI build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment