2014-04-02から1日間の記事一覧
ArticlesController < ActionController::Base def index @articles = Article.all end end describe ArticlesController do describe "GET 'index'" before { get :index } it { expect(assgins(:articles)).to Article.all } end end end テストが少ないう…