diff options
author | Azul <azul@leap.se> | 2014-02-07 14:38:56 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-02-10 14:26:30 +0100 |
commit | 3f9dc65636afb57fed441978dca4bf7d3209bd2d (patch) | |
tree | a3ede0e3b6e1f2ea952848f2c3b5b62249105d76 /users/test/unit/unauthenticated_user_test.rb | |
parent | e1243d02953b4012d6bb216efc9b0606809ab4bb (diff) |
rename authorize to require_login
authorize_admin -> require_admin
also add require_token which will ensure token has been used for auth.
Diffstat (limited to 'users/test/unit/unauthenticated_user_test.rb')
-rw-r--r-- | users/test/unit/unauthenticated_user_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/users/test/unit/unauthenticated_user_test.rb b/users/test/unit/unauthenticated_user_test.rb new file mode 100644 index 0000000..e5fafb8 --- /dev/null +++ b/users/test/unit/unauthenticated_user_test.rb @@ -0,0 +1,7 @@ +require 'test_helper' + +class UnauthenticatedUserTest < ActiveSupport::TestCase + # test "the truth" do + # assert true + # end +end |