gitlab/features/steps
Dmitriy Zaporozhets 16db51ec58 Merge branch 'fix-wiki-search' into 'master'
Fix Error 500 when searching Wiki pages

If a Wiki page turns up a hit in the search results, an error will occur:

```
Completed 500 Internal Server Error in 836ms

NoMethodError - undefined method `slug' for "test.markdown":String:
  app/helpers/wiki_helper.rb:10:in `namespace_project_wiki_path'
  app/views/search/results/_wiki_blob.html.haml:4:in `_app_views_search_results__wiki_blob_html_haml___2752621660395393333_70299911622700'
  actionview (4.1.9) lib/action_view/template.rb:145:in `block in render'
  activesupport (4.1.9) lib/active_support/notifications.rb:161:in `instrument'
  actionview (4.1.9) lib/action_view/template.rb:339:in `instrument'
  actionview (4.1.9) lib/action_view/template.rb:143:in `render'
```

An unhandled String containing the name of the Wiki page would be provided to the URL path generator. This MR handles that case.

Closes #1547

See merge request !592
2015-05-04 08:53:21 +00:00
..
admin Fix bug where Slack service channel was not saved in admin template settings. 2015-04-24 08:33:24 -07:00
dashboard Fix "Dashboard > New project" feature 2015-04-25 14:26:04 -04:00
explore Move group members index from `/members` to `/group_members`. 2015-03-15 13:51:11 +01:00
profile Add location to user profile 2015-03-20 16:52:23 -07:00
project Merge branch 'fix-wiki-search' into 'master' 2015-05-04 08:53:21 +00:00
shared Fix header_should_have_correct_id_and_link for features 2015-04-30 16:35:26 -04:00
snippets Fix snippets tests 2015-04-22 18:25:09 +03:00
groups.rb Add feature tests for inviting members. 2015-04-14 12:08:11 +02:00
invites.rb Add spinach tests around accepting and declining invitations. 2015-04-14 18:04:29 +02:00
search.rb Fix Error 500 when searching Wiki pages 2015-04-30 08:54:08 -07:00
snippet_search.rb Replace old spinach step definitions with step. 2014-09-22 10:01:50 +02:00
user.rb Improve user calendar test 2015-03-22 19:47:23 -07:00