And reverse logic confirms when I checked the attribute against the instance variable in my sample tests:
dog = GenericEntity.new(:barks=>"obnoxiously", :bites=>"mildly", :color=>"black")
Test.assert_equals(dog.color, "black")
Test.assert_equals(dog.bites, "mildly")
Test.assert_equals(dog.barks, "obnoxiously")
Test.assert_equals(dog.barks, @barks)
Test Passed: Value == "black"
Test Passed: Value == "mildly"
Test Passed: Value == "obnoxiously"
Expected: nil, instead got: "obnoxiously"
Any resolution? Yeah when I write my own sample test with same params: dog = GenericEntity.new(:barks=>"obnoxiously", :bites=>"mildly", :color=>"black")
Exactly
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")