OSDN Git Service

speach rename to speech
[pettanr/pettanr.git] / spec / controllers / speeches_controller_spec.rb
1 # -*- encoding: utf-8 -*-
2 #セリフ
3 require 'spec_helper'
4
5 describe SpeechesController do
6
7   describe "GET index" do
8     it "assigns all speeches as @speeches" do
9       speech = Speech.create! valid_attributes
10       get :index
11       assigns(:speeches).should eq([speech])
12     end
13   end
14 end