Commit 4a02dfa4 authored by Douwe Maan's avatar Douwe Maan

Disable case sensitive spec for MySQL.

parent e17e5a5c
......@@ -73,6 +73,9 @@ describe ProjectsController do
let!(:other_project) { create(:project, :public, namespace: public_project.namespace, path: public_project.path.upcase) }
it "loads the exactly matched project" do
# MySQL queries are case insensitive by default, so this spec would fail.
skip if Gitlab::Database.mysql?
get :show, namespace_id: public_project.namespace.path, id: public_project.path.upcase
expect(assigns(:project)).to eq(other_project)
......
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