summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-05-29 17:13:41 +0500
committerNihad Abbasov <narkoz.2008@gmail.com>2012-05-29 17:13:41 +0500
commitfaa0ec7c634bdf394b67366e8f90fb4c5a40542d (patch)
tree8edaf2942c31240a18c3ea45cf9b3013e0608424 /spec
parentfc74627f3c187467fdc3ab8f0af50d044d3dfc26 (diff)
downloadgitlab-ce-faa0ec7c634bdf394b67366e8f90fb4c5a40542d.tar.gz
cleanup User model
Diffstat (limited to 'spec')
-rw-r--r--spec/models/user_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb
index a62e56cdd30..6fe96284eec 100644
--- a/spec/models/user_spec.rb
+++ b/spec/models/user_spec.rb
@@ -14,6 +14,7 @@ describe User do
it { should respond_to(:is_admin?) }
it { should respond_to(:identifier) }
it { should respond_to(:name) }
+ it { should respond_to(:private_token) }
end
it "should return valid identifier" do
@@ -67,4 +68,3 @@ end
# authentication_token :string(255)
# dark_scheme :boolean default(FALSE), not null
#
-