Fix rubucop offenses

parent 2d35098c
...@@ -1781,14 +1781,14 @@ describe Project, models: true do ...@@ -1781,14 +1781,14 @@ describe Project, models: true do
it 'returns the projects matching the paths' do it 'returns the projects matching the paths' do
projects = Project.where_full_path_in([project1.path_with_namespace, projects = Project.where_full_path_in([project1.path_with_namespace,
project2.path_with_namespace]) project2.path_with_namespace])
expect(projects).to contain_exactly(project1, project2) expect(projects).to contain_exactly(project1, project2)
end end
it 'returns projects regardless of the casing of paths' do it 'returns projects regardless of the casing of paths' do
projects = Project.where_full_path_in([project1.path_with_namespace.upcase, projects = Project.where_full_path_in([project1.path_with_namespace.upcase,
project2.path_with_namespace.upcase]) project2.path_with_namespace.upcase])
expect(projects).to contain_exactly(project1, project2) expect(projects).to contain_exactly(project1, project2)
end end
......
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