OSDN Git Service

9c950b944333b415af25fa7a16411321f7f93c8f
[pettanr/pettanr.git] / spec / views / baloon_types / new.html.erb_spec.rb
1 require 'spec_helper'
2
3 describe "baloon_types/new.html.erb" do
4   before(:each) do
5     assign(:baloon_type, stub_model(BaloonType).as_new_record)
6   end
7
8   it "renders new baloon_type form" do
9     render
10
11     # Run the generator again with the --webrat flag if you want to use webrat matchers
12     assert_select "form", :action => baloon_types_path, :method => "post" do
13     end
14   end
15 end