Skip to content
Snippets Groups Projects

CE upstream

Merged Valery Sizov requested to merge ce_upstream into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -266,13 +266,13 @@
end
it "also display group#show on the short path" do
allow(Group).to receive(:find_by_path).and_return(true)
allow(Group).to receive(:find_by).and_return(true)
expect(get('/1')).to route_to('groups#show', id: '1')
end
it "also display group#show with dot in the path" do
allow(Group).to receive(:find_by_path).and_return(true)
allow(Group).to receive(:find_by).and_return(true)
expect(get('/group.with.dot')).to route_to('groups#show', id: 'group.with.dot')
end
Loading