Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I'm not sure my solution works? and why did it work when I set the temp variable to one in the min function and not when I set it to 0?
Exactly
Pretty good case for random tests.
And reverse logic confirms when I checked the attribute against the instance variable in my sample tests:
This comment is hidden because it contains spoiler information about the solution
Any resolution? Yeah when I write my own sample test with same params: dog = GenericEntity.new(:barks=>"obnoxiously", :bites=>"mildly", :color=>"black")