title: What does assigns mean in rspec
body: <p>What does that line of code do?</p>
  
  <pre><code>assigns(:articles).should eq([article])
  </code></pre>
  
  <p>in the following rspec   </p>
  
  <pre><code>  describe "GET #index" do
      it "populates an array of articles" do
        article = Factory(:article)
        get :index
        assigns(:articles).should eq([article])
      end
  
      it "renders the :index view" do
        get :index
        response.should render_template :index
      end
    end
  </code></pre>