diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-10-21 11:09:40 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-10-21 11:09:40 +0300 |
commit | 4a02dfa48f46688acdf03d2901cb4f36364dccdf (patch) | |
tree | 903154bcddd693ffd6f5e1818202553c03e14d73 /spec/controllers | |
parent | e17e5a5ce462022761d3cdc29d677f968ca9738a (diff) |
Disable case sensitive spec for MySQL.
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb index 5090f87c73d..0fe9d4da848 100644 --- a/spec/controllers/projects_controller_spec.rb +++ b/spec/controllers/projects_controller_spec.rb @@ -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) |