discourse/spec
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
..
components Add ability to destroy a user with 0 posts 2013-04-12 16:53:00 -04:00
controllers Refactor user controller, create action, mostly. 2013-04-13 00:53:59 +02:00
fabricators clean up onebox application so it uses a single code path 2013-04-10 17:52:38 +10:00
fixtures Merge pull request #628 from ZogStriP/add-uploads-controller-specs 2013-04-03 08:06:49 -07:00
integrity prevent double work in the i18n integrity specs 2013-03-23 15:49:31 +01:00
javascripts Missed a jshint thing in the spec 2013-04-09 18:04:25 -04:00
mailers Swap out "@" for "via" in email From field 2013-02-27 19:03:57 -05:00
models Add ability to destroy a user with 0 posts 2013-04-12 16:53:00 -04:00
phantom_js formatted some tests 2013-02-27 03:18:23 +01:00
requests remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
support Create and use new rspec matcher 'match_html' 2013-04-09 22:30:10 -05:00
views/omniauth_callbacks Convert a lot of :a => b to a: b and bring peace to the world 2013-03-25 05:07:36 +05:30
spec_helper.rb added 2 new flag types: notify user and notify moderators 2013-04-12 17:55:45 +10:00