OSDN Git Service

import all source code
[pettanr/pettanr.git] / spec / views / speach_baloons / edit.html.erb_spec.rb
diff --git a/spec/views/speach_baloons/edit.html.erb_spec.rb b/spec/views/speach_baloons/edit.html.erb_spec.rb
new file mode 100644 (file)
index 0000000..2dcb015
--- /dev/null
@@ -0,0 +1,15 @@
+require 'spec_helper'
+
+describe "speach_baloons/edit.html.erb" do
+  before(:each) do
+    @speach_baloon = assign(:speach_baloon, stub_model(SpeachBaloon))
+  end
+
+  it "renders the edit speach_baloon form" do
+    render
+
+    # Run the generator again with the --webrat flag if you want to use webrat matchers
+    assert_select "form", :action => speach_baloons_path(@speach_baloon), :method => "post" do
+    end
+  end
+end