mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 15:46:08 +10:00
Only postgres does case sensitive compares
This commit is contained in:
@@ -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) }
|
||||
|
||||
Reference in New Issue
Block a user