BigW Consortium Gitlab

Fix broken tests

parent dfe12649
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment