Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-04 19:39:44 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-02-04 19:39:44 +0300
commitc5ed929d33981d4af25c701087a4eaca1348cc1b (patch)
treea33c139fa6a301ea50f7ddeb6ba95e9d7ca21dd0 /spec
parente932714e09d0f1c21363c329d602b4f10e56e65f (diff)
parent9f86fcde400de28fb544e59247b8925e4ff4d09a (diff)
Merge branch 'fix-test' into 'master'
Fix broken tests Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> cc @DouweM See merge request !2708
Diffstat (limited to 'spec')
-rw-r--r--spec/helpers/search_helper_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/search_helper_spec.rb b/spec/helpers/search_helper_spec.rb
index f0d553f5f1d..601b6915e27 100644
--- a/spec/helpers/search_helper_spec.rb
+++ b/spec/helpers/search_helper_spec.rb
@@ -42,9 +42,9 @@ describe SearchHelper do
expect(search_autocomplete_opts(project.name).size).to eq(1)
end
- it "includes the public group" do
+ it "should not include the public group" do
group = create(:group)
- expect(search_autocomplete_opts(group.name).size).to eq(1)
+ expect(search_autocomplete_opts(group.name).size).to eq(0)
end
context "with a current project" do