c5.86 17.2 9.04 35 9.69 52.73.5 13.9 17.45 20.44 27.29 10.6l37.1-37.1c59.28-59.26 59.28-155.7 0-214.96z"/>
      </svg></a> </h3>
<section aria-labelledby="toc_testing-object-methods">
<p>Next let's look at testing logic found within an object's method. In this case
the <code>testMethod</code> method alters some internal state of the object (by updating
the <code>foo</code> property).</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/models/some-thing.js</span><pre class="language-jav