Display validation error on uploading broken avatar
authorAdam Pohorecki <adam@pohorecki.pl>
Tue, 5 Nov 2013 09:32:52 +0000 (10:32 +0100)
committerAdam Pohorecki <adam@pohorecki.pl>
Tue, 5 Nov 2013 14:56:55 +0000 (15:56 +0100)
commit0777219582af5ab74fc3223c969f4c75c1a2827f
tree288f1fda37e6f9235f3fb8d899441dff1ce43c4b
parentb8c0b47bdef8b7ced99e0ae8d56ce9daa2848950
Display validation error on uploading broken avatar
app/validators/user_validator.rb
config/locales/en.rb
test/fast_test_helper.rb
test/fixtures/invalid_image.jpg [new file with mode: 0644]
test/fixtures/valid_image.gif [new file with mode: 0644]
test/unit/validators/user_validator_test.rb [new file with mode: 0644]