diff options
author | Rémy Coutable <remy@rymai.me> | 2016-03-15 18:53:42 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-03-15 18:53:42 +0300 |
commit | 5c1f6f8cfcc30597ca3f9bea8ab4431049ed1bd6 (patch) | |
tree | db674a9f4c5e992e6d69cf22af9003af08a1da3f /spec/factories | |
parent | bbfe15491e496bad0b532b9607d3b380c98206c9 (diff) | |
parent | 1714883107b7b8b8f2ef8c2836acc2866362738e (diff) |
Merge branch 'revert-avatar-cropping' into 'master'
Revert the avatar cropping feature
Reverts !2951 since the added 'mini_magick' dependency should be replaced by client-side croppping
See merge request !3223
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/users.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 785c2a3d811..a5c60c51c5b 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -23,13 +23,6 @@ FactoryGirl.define do end end - trait :with_avatar do - avatar { fixture_file_upload(Rails.root.join(*%w(spec fixtures dk.png)), 'image/png') } - avatar_crop_x 0 - avatar_crop_y 0 - avatar_crop_size 256 - end - factory :omniauth_user do transient do extern_uid '123456' |