Skip to content
Browse files

remove absolute path from test

  • Loading branch information...
1 parent 8b377c9 commit 4b14d7bca327125181312505082574818d7f15aa @mrbrdo committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/dummy/spec/support/photos.rb
View
2 test/dummy/spec/support/photos.rb
@@ -14,7 +14,7 @@ def uploadEmpty?
end
TEMPDIR = File.expand_path("../../../public/uploads/tmp", __FILE__)
-UPLOADDIR = "/Users/apple/rails/has_moderated/test/dummy/public/uploads/photo/avatar/1"
+UPLOADDIR = File.expand_path("../../../public/uploads/photo/avatar/1", __FILE__)
def carrierwave_test_photo
test_photo_path = File.expand_path("../../../public/test.jpg", __FILE__)

0 comments on commit 4b14d7b

Please sign in to comment.
Something went wrong with that request. Please try again.