Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2016-03-15 18:53:42 +0300
committerRémy Coutable <remy@rymai.me>2016-03-15 18:53:42 +0300
commit5c1f6f8cfcc30597ca3f9bea8ab4431049ed1bd6 (patch)
treedb674a9f4c5e992e6d69cf22af9003af08a1da3f /spec/factories
parentbbfe15491e496bad0b532b9607d3b380c98206c9 (diff)
parent1714883107b7b8b8f2ef8c2836acc2866362738e (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.rb7
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'