summaryrefslogtreecommitdiff
path: root/users/test/unit/user_test.rb
diff options
context:
space:
mode:
authorjessib <jessib@riseup.net>2014-01-21 10:17:35 -0800
committerjessib <jessib@riseup.net>2014-01-21 10:17:35 -0800
commit77520ca1d1d6f932bb6d56f48effcadf4b623802 (patch)
treeb81a23251048848a68c559456e9581b4e8799aca /users/test/unit/user_test.rb
parenta19d01313ac534bdbbd8381593f887f1f77c94d5 (diff)
parent8c087dc69174a5fbd9390b5c3a795fd0f56f6ed2 (diff)
Merge branch 'develop' into feature/messages_api
Diffstat (limited to 'users/test/unit/user_test.rb')
-rw-r--r--users/test/unit/user_test.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/users/test/unit/user_test.rb b/users/test/unit/user_test.rb
index c797623..ffbb7d8 100644
--- a/users/test/unit/user_test.rb
+++ b/users/test/unit/user_test.rb
@@ -7,6 +7,11 @@ class UserTest < ActiveSupport::TestCase
@user = FactoryGirl.build(:user)
end
+ test "design docs in database are authorative" do
+ assert !User.design_doc.auto_update,
+ "Automatic update of design docs should be disabled"
+ end
+
test "test set of attributes should be valid" do
@user.valid?
assert_equal Hash.new, @user.errors.messages