discourse/spec/controllers
Philipp Weissensteiner 3dcb1905e3 Refactor user controller, create action, mostly.
The gist of the commit are a few improvements in the
create action, where:

* long boolean statemenst have been wrapped in smaller more readable
  methods.
* the 3rd party user info creation has been extracted (still in controller)
* a small helper method for creating a new user from params (to reduce
  visual clutter)
* specs have been added where I came across untested methods/branches

Other changes are more trivial like formatting and whitespace fixes.
Hope this helps. Regards.
2013-04-13 00:53:59 +02:00
..
admin Add ability to destroy a user with 0 posts 2013-04-12 16:53:00 -04:00
application_controller_spec.rb basic api support 2013-03-25 18:04:46 -07:00
categories_controller_spec.rb implement color picking from predefined set for category badges + option to change foreground color 2013-03-14 14:16:57 +01:00
clicks_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
education_controller_spec.rb Replace MultisiteI18n hack with SiteContent and admin editing. 2013-04-05 16:48:15 -04:00
email_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
excerpt_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
invites_controller_spec.rb Remove unusued site_settings, show checkbox in UI for boolean values, remove restrict_access 2013-03-01 14:27:41 -05:00
list_controller_spec.rb FIX: allows the selection of the default landing tab 2013-03-28 14:01:13 +01:00
notifications_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
omniauth_callbacks_controller_spec.rb Check when logging in whether a auth provider is enabled, including specs 2013-03-04 13:44:41 -05:00
onebox_controller_spec.rb Fixes regression with video embeds 2013-03-21 20:53:12 -04:00
post_actions_controller_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
posts_controller_spec.rb PostDestroyer to replace callbacks for destroying 2013-03-18 17:55:11 -04:00
request_access_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
robots_txt_controller_spec.rb Remove unusued site_settings, show checkbox in UI for boolean values, remove restrict_access 2013-03-01 14:27:41 -05:00
search_controller_spec.rb added the min-search-term-length site setting 2013-03-07 16:52:01 +01:00
session_controller_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
static_controller_spec.rb Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
topics_controller_spec.rb auto replace rules in titles 2013-04-10 11:00:50 +02:00
uploads_controller_spec.rb added some tests for uploads 2013-04-07 17:52:46 +02:00
users_controller_spec.rb Refactor user controller, create action, mostly. 2013-04-13 00:53:59 +02:00