gitlab-org--gitlab-foss/spec/helpers
Douwe Maan 8762db3b8f Merge branch '23990-project-show-error-when-empty-repo' into 'master'
500 error on project show when user is not logged in and project is still empty

## What does this MR do?

Aims to fix the 500 error when the project is empty and the user is not logged in and tries to access project#show

## Screenshots (if relevant)
When the project is empty and the user is not logged in we default to the empty project partial instead of readme.

![Screen_Shot_2016-11-11_at_22.54.21](/uploads/3d87e65195376c85d3e515e6d5a9a850/Screen_Shot_2016-11-11_at_22.54.21.png)

## Does this MR meet the acceptance criteria?

- [x] [Changelog entry](https://docs.gitlab.com/ce/development/changelog.html) added
- [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md)
- [x] API support added
- Tests
  - [x] Added for this feature/bug
  - [x] All builds are passing
- [x] Conform by the [merge request performance guides](http://docs.gitlab.com/ce/development/merge_request_performance_guidelines.html)
- [x] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if it does - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

## What are the relevant issue numbers?

Closes #23990

See merge request !7376
2016-11-17 17:02:38 +00:00
..
application_helper_spec.rb Replace jQuery.timeago with timeago.js 2016-11-07 14:49:00 -06:00
auth_helper_spec.rb
blob_helper_spec.rb edit_blob_link can receive the blob to avoid access to the repository 2016-08-18 16:30:25 +02:00
broadcast_messages_helper_spec.rb Enable CacheMarkdownField for the remaining models 2016-10-07 02:54:26 +01:00
ci_status_helper_spec.rb Fix ci_status_helper_spec to look for new SVGs 2016-07-19 11:11:52 -07:00
commits_helper_spec.rb
components_helper_spec.rb Use the Gitlab Workhorse HTTP header in the admin dashboard 2016-11-07 16:15:43 +01:00
diff_helper_spec.rb Remove an extra leading space from diff content 2016-11-04 14:05:49 +09:00
emails_helper_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
events_helper_spec.rb Stop event_commit_title from escaping its output 2016-10-18 13:49:52 +01:00
form_helper_spec.rb
git_helper_spec.rb Add more tests for merge request versions feature 2016-09-07 10:22:57 +03:00
gitlab_markdown_helper_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
gitlab_routing_helper_spec.rb
graph_helper_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
groups_helper_spec.rb Syntax fixes and better tests for helper methods. Updated docs. 2016-09-15 14:10:49 -05:00
icons_helper_spec.rb
import_helper_spec.rb Don't create groups for unallowed users when importing projects 2016-08-31 12:55:45 -03:00
issuables_helper_spec.rb Small improvements thanks to Robert's feedback 2016-09-30 12:02:54 +02:00
issues_helper_spec.rb Optimize the `award_user_list` helper spec 2016-10-07 16:34:58 +02:00
labels_helper_spec.rb Fix LabelsHelper#link_to_label to use the subject argument 2016-10-19 14:58:24 -02:00
members_helper_spec.rb Make access request specs explicitly enable or disable access requests as required 2016-11-11 15:45:47 +00:00
merge_requests_helper_spec.rb Remove JiraIssue model and replace references with ExternalIssue 2016-06-16 01:25:18 +03:00
milestones_helper_spec.rb Ensure milestone counts work with no data 2016-09-07 15:27:14 -05:00
notes_helper_spec.rb Revert unrelevant changes 2016-08-16 10:00:13 +02:00
notifications_helper_spec.rb
page_layout_helper_spec.rb Update Hamlit to 2.6.1 2016-08-18 13:26:32 -05:00
preferences_helper_spec.rb adds fix for security issue when annonymous user does not have access to repository we now display the activity feed instead of the readme 2016-11-17 12:42:21 +00:00
projects_helper_spec.rb Change user & group landing page routing from /u/:name & /groups/:name to /:name 2016-10-06 19:50:48 +03:00
runners_helper_spec.rb
search_helper_spec.rb Search for a filename in a project 2016-11-16 14:25:54 +02:00
sidekiq_helper_spec.rb Reformat Regexp 2016-09-08 15:46:22 +02:00
submodule_helper_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
tab_helper_spec.rb
time_helper_spec.rb Cleanup the use of duration and optimize some queries 2016-08-10 23:12:02 +08:00
tree_helper_spec.rb fixes part1 of files to start using active tense 2016-08-09 15:06:23 +01:00
visibility_level_helper_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00