Fix broken tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
dfe12649f6
commit
9f86fcde40
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)
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue