-
- Downloads
Fix Git over HTTP spec
* The spec has 7 failures at this point * Specify rendered error messages * Render the GitAccess message rather than “Access denied” * Render the Not Found message provided by GitAccess, instead of a custom one * Expect GitAccess to check the config for whether Git-over-HTTP pull or push is disabled, rather than doing it in the controller * Add more thorough testing for authentication * Dried up a lot of tests * Fixed some broken tests
Showing
- lib/gitlab/checks/change_access.rb 25 additions, 11 deletionslib/gitlab/checks/change_access.rb
- lib/gitlab/git_access.rb 7 additions, 4 deletionslib/gitlab/git_access.rb
- lib/gitlab/git_access_wiki.rb 5 additions, 1 deletionlib/gitlab/git_access_wiki.rb
- spec/requests/git_http_spec.rb 364 additions, 252 deletionsspec/requests/git_http_spec.rb
- spec/support/git_http_helpers.rb 18 additions, 1 deletionspec/support/git_http_helpers.rb
This diff is collapsed.
Please register or sign in to comment