OSDN Git Service

Merge branch 'v03_test' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v03_test
[pettanr/pettanr.git] / spec / controllers / speech_balloons_controller_spec.rb
diff --git a/spec/controllers/speech_balloons_controller_spec.rb b/spec/controllers/speech_balloons_controller_spec.rb
new file mode 100644 (file)
index 0000000..db5a09d
--- /dev/null
@@ -0,0 +1,12 @@
+# -*- encoding: utf-8 -*-
+#フキダシ
+require 'spec_helper'
+describe SpeechBalloonsController do
+  describe "GET index" do
+    it "assigns all speech_baloons as @speech_baloons" do
+      speech_baloon = SpeechBaloon.create! valid_attributes
+      get :index
+      assigns(:speech_baloons).should eq([speech_baloon])
+    end
+  end
+end