summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-10-22 10:19:12 +0200
committerDouwe Maan <douwe@gitlab.com>2015-10-22 10:19:12 +0200
commit98f982f91d6e2d6ec1b59ea5645d8320989e2de6 (patch)
tree8c1f32cd5ee6674a37919822bd11d166affc4b13
parent05cb65dc1f816a75677d0db401e29a9b640cf4d7 (diff)
downloadgitlab-ce-project-path-case-sensitivity.tar.gz
Only postgres does case sensitive comparesproject-path-case-sensitivity
-rw-r--r--spec/controllers/projects_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb
index 9b49f60b66c..4bb47c6b025 100644
--- a/spec/controllers/projects_controller_spec.rb
+++ b/spec/controllers/projects_controller_spec.rb
@@ -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) }