summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/user_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index c301923..cd290d5 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -70,6 +70,11 @@ class UserTest < ActiveSupport::TestCase
assert_equal key, @user.public_key
end
+ test "user should have an invite token" do
+ user = User.new
+ assert_nil(user.invite_code)
+ end
+
#
## Regression tests
#