Skip to content
Snippets Groups Projects
Verified Commit 9f86fcde authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix broken tests

parent dfe12649
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment