test/tasks_test.rb in attachs-0.4.0 vs test/tasks_test.rb in attachs-0.4.1

- old
+ new

@@ -36,26 +36,18 @@ assert_equal original_big_time, big_time end private - def image_path(style=:original) + def image_path(style) Rails.root.join("public/#{style}/180x150.gif") end - def small_path - image_path(:small) - end - - def big_path - image_path(:big) - end - def small_time - File.mtime(small_path) + File.mtime(image_path(:small)) end def big_time - File.mtime(big_path) + File.mtime(image_path(:big)) end end