3 describe "roles/new.html.erb" do
5 assign(:role, stub_model(Role,
11 it "renders new role form" do
14 rendered.should have_selector("form", :action => roles_path, :method => "post") do |form|
15 form.should have_selector("input#role_name", :name => "role[name]")