Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove absolute path from test

  • Loading branch information...
commit 4b14d7bca327125181312505082574818d7f15aa 1 parent 8b377c9
@mrbrdo authored
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__)
Please sign in to comment.
Something went wrong with that request. Please try again.