myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2596] trunk/test/functional/users_controller_tes


From: noreply
Subject: [myexperiment-hackers] [2596] trunk/test/functional/users_controller_test.rb: updated functional test to reflect changed error message
Date: Tue, 31 May 2011 11:50:43 -0400 (EDT)

Revision
2596
Author
dgc
Date
2011-05-31 11:50:43 -0400 (Tue, 31 May 2011)

Log Message

updated functional test to reflect changed error message

Modified Paths

Diff

Modified: trunk/test/functional/users_controller_test.rb (2595 => 2596)


--- trunk/test/functional/users_controller_test.rb	2011-05-27 11:20:11 UTC (rev 2595)
+++ trunk/test/functional/users_controller_test.rb	2011-05-31 15:50:43 UTC (rev 2596)
@@ -65,6 +65,6 @@
     delete :destroy, :id => 1
 
     assert_redirected_to :action ="" :index
-    assert_equal "Please contact the administrator to have your account removed.", flash[:notice]
+    assert_equal "You do not have permission to delete this user.", flash[:notice]
   end
 end

reply via email to

[Prev in Thread] Current Thread [Next in Thread]