assigns(:comics).should have_at_least(3).items\r
end\r
context 'html形式' do\r
+ it '@paginateにページ制御を取得している' do\r
+ get :index\r
+ assigns(:paginate).is_a?(Kaminari::PaginatableArray).should be_true\r
+ end\r
it 'indexテンプレートを描画する' do\r
get :index\r
response.should render_template("index")\r
end\r
it 'マイコミックの一覧ページへ遷移する' do\r
delete :destroy, :id => @comic.id\r
- response.should redirect_to('/home/comic')\r
+ response.should redirect_to('/home/comics')\r
end\r
end\r
context 'json形式' do\r