summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-11-21 21:03:18 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2016-11-21 21:03:18 +0200
commit5949f398f71d9cb540e42988c19fac2768c92eb8 (patch)
treecfb839e94952e0fc2d44a4e1f99c771d19100d44 /spec/routing
parent220c258c68c8f2e4f0315153c443c036c3ace90c (diff)
downloadgitlab-ce-5949f398f71d9cb540e42988c19fac2768c92eb8.tar.gz
Fix 500 error when group name ends with git
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index 7aba4f08088..f15c45cbaac 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -261,7 +261,7 @@ describe "Authentication", "routing" do
end
describe "Groups", "routing" do
- let(:name) { 'complex.group-name' }
+ let(:name) { 'complex.group-namegit' }
it "to #show" do
expect(get("/groups/#{name}")).to route_to('groups#show', id: name)