From 3a5f8d814db8afb27133fca7997df8d06bacda48 Mon Sep 17 00:00:00 2001 From: MrZYX Date: Sun, 27 Mar 2011 00:23:14 +0100 Subject: [PATCH] fixed spec --- spec/controllers/aspect_memberships_controller_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/controllers/aspect_memberships_controller_spec.rb b/spec/controllers/aspect_memberships_controller_spec.rb index f79429dc2..6f518ac38 100644 --- a/spec/controllers/aspect_memberships_controller_spec.rb +++ b/spec/controllers/aspect_memberships_controller_spec.rb @@ -41,7 +41,7 @@ describe AspectMembershipsController do delete :destroy, :format => 'js', :id => 123, :person_id => @user2.person.id, - :aspect_id => @aspect0.id + :id => @aspect0.id response.should be_success @aspect0.reload @aspect0.contacts.include?(@contact).should be false @@ -52,7 +52,7 @@ describe AspectMembershipsController do delete :destroy, :format => 'js', :id => 123, :person_id => 4324525, - :aspect_id => @aspect0.id + :id => @aspect0.id response.should_not be_success response.body.should include "Could not find the selected person in that aspect" end @@ -71,7 +71,7 @@ describe AspectMembershipsController do delete :destroy, :format => 'js', :id => 123, :person_id => @user2.person.id, - :aspect_id => @aspect0.id + :id => @aspect0.id response.should_not be_success response.body.should include "Cannot remove person from last aspect" end