Only postgres does case sensitive compares

This commit is contained in:
Douwe Maan
2015-10-22 10:19:12 +02:00
parent 05cb65dc1f
commit 98f982f91d
+1 -1
View File
@@ -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) }