Merge branch 'fix-test' into 'master'

Fix broken tests

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>

cc @DouweM 

See merge request !2708
This commit is contained in:
Dmitriy Zaporozhets 2016-02-04 16:39:44 +00:00
commit c5ed929d33
1 changed files with 2 additions and 2 deletions

View File

@ -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