discourse/spec/fabricators
Dan Singerman dbf2f4efec Fix bug when sso_overrides_avatar is true but no avatar_url is passed
If a user has a current avatar, and sso_overrides_avatar is true, but no avatar_url is
passed in the sso attributes, the current code errors, as it tries to parse a nil
as a URL. It seems to me valid that a third party system may not pass an avatar_url in
some cases (e.g. avatars may not be mandatory, so not all users may have them)

This might warrant a discussion about what should happen in this case; maybe the current
avatar in discourse should be removed? This branch merely stops the login process erroring.
2015-01-28 16:01:39 +00:00
..
api_key_fabricator.rb
badge_fabricator.rb
category_fabricator.rb support setting category slug 2014-12-30 03:14:54 +08:00
color_scheme_color_fabricator.rb
color_scheme_fabricator.rb
email_log_fabricator.rb
flag_fabricator.rb
group_fabricator.rb
incoming_link_fabricator.rb FIX: Admin panel referral stats not counting topics correctly 2014-11-24 12:16:52 -08:00
invite_fabricator.rb
like_fabricator.rb
notification_fabricator.rb
optimized_image_fabricator.rb
permalink_fabricator.rb FEATURE: add a way to map arbitrary urls to a topic, post, or category. Useful for sites that have migrated to Discourse and want to redirect from their old site to Discourse with 301 redirects. 2014-08-28 15:58:24 -04:00
post_detail_fabricator.rb
post_fabricator.rb FEATURE: use img's title attribute in overlay information when provided 2014-11-03 22:03:06 +01:00
post_revision_fabricator.rb LOTS of changes to properly handle post/topic revisions 2014-10-27 22:06:43 +01:00
screened_email_fabricator.rb
screened_ip_address_fabricator.rb
screened_url_fabricator.rb
single_sign_on_record_fabrictor.rb Fix bug when sso_overrides_avatar is true but no avatar_url is passed 2015-01-28 16:01:39 +00:00
site_text_fabricator.rb Renaming site contents to site text 2014-09-24 16:08:14 -04:00
topic_fabricator.rb FIX: PM should never be allowed to have a category 2014-09-11 17:39:34 +10:00
upload_fabricator.rb
user_action_fabricator.rb FEATURE: remove star concept from Discourse 2015-01-07 13:43:27 +11:00
user_fabricator.rb FIX: Do not show unconfirmed users in search results 2014-10-24 19:20:41 -04:00
user_field_fabricator.rb FEATURE: Support for a required setting on user fields. 2014-10-08 15:10:19 -04:00
user_profile_fabricator.rb FIX: Don't allow profile bios longer than 3k chars 2014-09-08 15:23:21 -04:00