From 1b2d307c6da1655b3f322861b19a906a363abea8 Mon Sep 17 00:00:00 2001 From: Jens Ulferts Date: Mon, 22 Nov 2010 16:10:06 +0100 Subject: [PATCH] fixed specs broken by renaming erbs --- spec/controllers/roles_controller_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/controllers/roles_controller_spec.rb b/spec/controllers/roles_controller_spec.rb index 5d13f511ba..63af4a63b2 100644 --- a/spec/controllers/roles_controller_spec.rb +++ b/spec/controllers/roles_controller_spec.rb @@ -10,7 +10,7 @@ describe RolesController do it {response.should be_success} it {assigns(:roles).should eql(@roles)} it {assigns(:role_pages).should be_a ActionController::Pagination::Paginator} - it {response.should render_template "roles/index.erb"} + it {response.should render_template "roles/index"} end shared_examples_for "member assigns" do @@ -76,7 +76,7 @@ describe RolesController do end it {response.should be_success} - it {response.should render_template "roles/new.erb"} + it {response.should render_template "roles/new"} it {assigns(:member_permissions).should eql @member_role.setable_permissions} it {assigns(:roles).should eql @roles} it {assigns(:role).should eql @member_role} @@ -102,7 +102,7 @@ describe RolesController do before {get :edit, @params} it {response.should be_success} - it {response.should render_template "roles/edit.erb"} + it {response.should render_template "roles/edit"} it {assigns(:role).should eql @member_role} it {assigns(:permissions).should eql @member_role.setable_permissions} end