tests/models/iam/users_tests.rb in fog-aws-0.2.2 vs tests/models/iam/users_tests.rb in fog-aws-0.3.0
- old
+ new
@@ -36,9 +36,13 @@
tests('#get','an existing user').succeeds do
@iam.users.get(@user_one_name).id == @user_one_name
end
+ tests('#current').succeeds do
+ @iam.users.current
+ end
+
tests('#get',"returns nil if the user doesn't exists").succeeds do
@iam.users.get('non-exists') == nil
end
tests('#policies','it has no policies').succeeds do