diff test/functional/attachments_controller_test.rb @ 38:33d69fee1d99 cannam

* Merge SVN update from default branch
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Fri, 19 Nov 2010 13:41:40 +0000
parents 94944d00e43c
children af80e5618e9b 8661b858af72
line wrap: on
line diff
--- a/test/functional/attachments_controller_test.rb	Fri Oct 01 15:33:14 2010 +0100
+++ b/test/functional/attachments_controller_test.rb	Fri Nov 19 13:41:40 2010 +0000
@@ -95,7 +95,7 @@
       post :destroy, :id => 1
     end
     # no referrer
-    assert_redirected_to 'projects/ecookbook'
+    assert_redirected_to '/projects/ecookbook'
     assert_nil Attachment.find_by_id(1)
     j = issue.journals.find(:first, :order => 'created_on DESC')
     assert_equal 'attachment', j.details.first.property