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:
commit
c5ed929d33
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ describe SearchHelper do
|
||||||
expect(search_autocomplete_opts(project.name).size).to eq(1)
|
expect(search_autocomplete_opts(project.name).size).to eq(1)
|
||||||
end
|
end
|
||||||
|
|
||||||
it "includes the public group" do
|
it "should not include the public group" do
|
||||||
group = create(:group)
|
group = create(:group)
|
||||||
expect(search_autocomplete_opts(group.name).size).to eq(1)
|
expect(search_autocomplete_opts(group.name).size).to eq(0)
|
||||||
end
|
end
|
||||||
|
|
||||||
context "with a current project" do
|
context "with a current project" do
|
||||||
|
|
Loading…
Reference in a new issue