Disable case sensitive spec for MySQL.
This commit is contained in:
parent
e17e5a5ce4
commit
4a02dfa48f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue