diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-22 11:19:12 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-22 11:19:12 +0300 |
commit | 98f982f91d6e2d6ec1b59ea5645d8320989e2de6 (patch) | |
tree | 8c1f32cd5ee6674a37919822bd11d166affc4b13 /spec/controllers | |
parent | 05cb65dc1f816a75677d0db401e29a9b640cf4d7 (diff) |
Only postgres does case sensitive compares
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 2 |
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) } |