From d54a8428d3052a139aab9526e8cb1252f7bdd490 Mon Sep 17 00:00:00 2001 From: zhitomirskiyi <ilya@joindiaspora.com> Date: Tue, 29 Mar 2011 14:18:07 -0700 Subject: [PATCH] add some limits for conversation#new --- app/views/conversations/new.haml | 2 ++ features/signs_up.feature | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/conversations/new.haml b/app/views/conversations/new.haml index bd1e9d59d8..b98f771e09 100644 --- a/app/views/conversations/new.haml +++ b/app/views/conversations/new.haml @@ -11,6 +11,8 @@ selectedItemProp: "name", searchObjProps: "name", asHtmlID: "contact_ids", + retrieveLimit: 10, + minChars: 3, keyDelay: 0, startText: '', emptyText: '#{t('.no_results')}', diff --git a/features/signs_up.feature b/features/signs_up.feature index bb435d781a..1796cc5318 100644 --- a/features/signs_up.feature +++ b/features/signs_up.feature @@ -14,7 +14,7 @@ Feature: new user registration Scenario: new user goes through the setup wizard When I fill in "profile_first_name" with "O" And I fill in "profile_last_name" with "Hai" - And I fill in "profile_tag_string" with "#gender" + And I fill in "tags" with "#tags" And I press "Save and continue" And I wait for "step 2" to load Then I should see "Profile updated" -- GitLab