Added teardown to all tests which resets Thread.current[:user] and friends to
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 23 Apr 2014 17:36:16 +0000 (13:36 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 23 Apr 2014 17:38:21 +0000 (13:38 -0400)
commita955d5a89402d4b68ccec2d00c1ecf7d86334875
tree12e551bb1dbba985e0d529c20a68d5eb1a817d6b
parent1059fd1f9e22ebcae51413d2b0fde0416c71c79b
Added teardown to all tests which resets Thread.current[:user] and friends to
nil.  Fixed one faulty test that turned up as a result of this change.
services/api/test/test_helper.rb
services/api/test/unit/user_test.rb