Commit 98f982f9 authored by Douwe Maan's avatar Douwe Maan

Only postgres does case sensitive compares

parent 05cb65dc
......@@ -70,7 +70,7 @@ describe ProjectsController do
# MySQL queries are case insensitive by default, so this spec would fail.
unless Gitlab::Database.mysql?
if Gitlab::Database.postgresql?
context "when there is also a match with the same casing" do
let!(:other_project) { create(:project, :public, namespace: public_project.namespace, path: public_project.path.upcase) }
......
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