public
Rubygem
Description: Ruby helpers for avatar display
Clone URL: git://github.com/gcnovus/avatar.git
forgot to add updated paperclip test
gcnovus (author)
Tue Apr 01 14:42:24 -0700 2008
commit  906aa596d8723e42fe8e1d4ba605ad35a9bbb4b2
tree    b98a3e3ae5c064fb6eb2e5022be175fb0bb4ba50
parent  913642f78ba6b4606fb3027e4ddcc1120f658ad7
...
38
39
40
41
 
42
43
44
...
46
47
48
49
 
50
51
52
...
38
39
40
 
41
42
43
44
...
46
47
48
 
49
50
51
52
0
@@ -38,7 +38,7 @@ class TestPaperclipSource < Test::Unit::TestCase
0
   end
0
   
0
   def test_avatar_url_for_person_with_avatar
0
- assert_equal "/images/PaperclipUsers/#{@user_with_avatar.id}/avatars/medium/user_suit.png", @source.avatar_url_for(@user_with_avatar)
0
+ assert_equal "/images/paperclipusers/#{@user_with_avatar.id}/avatars/medium/user_suit.png", @source.avatar_url_for(@user_with_avatar)
0
   end
0
 
0
   def test_avatar_url_is_nil_for_invalid_size
0
@@ -46,7 +46,7 @@ class TestPaperclipSource < Test::Unit::TestCase
0
   end
0
   
0
   def test_avatar_url_for_person_with_icon_and_custom_file_column_field
0
- assert_equal "/images/PaperclipUsers/#{@user_with_icon.id}/icons/small/user_suit.png", @source.avatar_url_for(@user_with_icon, :paperclip_field => :icon)
0
+ assert_equal "/images/paperclipusers/#{@user_with_icon.id}/icons/small/user_suit.png", @source.avatar_url_for(@user_with_icon, :paperclip_field => :icon)
0
   end
0
   
0
 end

Comments

    No one has commented yet.