 the <code>PostsController</code> and
write a test to check the action. <code>this.subject()</code> is a helper method from the
<code>ember-qunit</code> library that returns a singleton instance of the module set up
using <code>moduleFor</code>.</p>
<div class="filename javascript"><div class="ribbon"></div><span>tests/unit/controllers/posts-test.js</span><pre class="language-javascript line-numbers"><code class="javascript language-javascript"><span class="token function">test</span><span class="token punc