gitlab-org--gitlab-foss/spec/support
Rémy Coutable c5fd3d5be9 Merge branch 'fix-extra-new-line-crlf' into 'master'
Trim extra displayed carriage returns in diffs and files with CRLFs

## What does this MR do?

This MR strips out extra carriage returns at the end of each tokenized string.

## Are there points in the code the reviewer needs to double check?

Does this remove more than we need?

## Why was this MR needed?

Windows users would see extra lines in their files. Newline characters are already added with every line in the HTML formatter.

## What are the relevant issue numbers?

#20440, gitlab-com/support-forum#892, #20468 

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing
- [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 you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !5588
2016-08-01 12:30:13 +00:00
..
api
gitlab_stubs
import_export
matchers Remove VideoJS and clean the integration 2016-07-20 11:36:42 +02:00
api_helpers.rb Enable Style/MultilineTernaryOperator rubocop cop 2016-07-20 14:24:39 +02:00
capybara.rb
capybara_helpers.rb Ensure only renderable text diffs are collapsed 2016-07-08 13:53:17 +01:00
carrierwave.rb
db_cleaner.rb
email_format_shared_examples.rb
email_helpers.rb
factory_girl.rb
fake_u2f_device.rb Use a single challenge for U2F authentication. 2016-07-14 08:19:09 +05:30
filter_spec_helper.rb
fixture_helpers.rb
import_spec_helper.rb Move ImportSpecHelper to spec/support/ 2016-06-08 17:21:08 +02:00
issue_helpers.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
issue_tracker_service_shared_example.rb
jira_service_helper.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
login_helpers.rb Merge branch 'add-2fa-check-to-oauth' into 'master' 2016-07-12 20:53:09 +00:00
markdown_feature.rb Hook up the updated `WikiLinkFilter` to the wiki controllers. 2016-06-09 10:15:01 +05:30
mentionable_shared_examples.rb
merge_request_helpers.rb State specific default sort order for issuables 2016-08-01 11:28:56 +02:00
omni_auth.rb Added a lot of stubbing to make sure OAUth requests are handled properly with 2FA 2016-07-07 16:54:03 -05:00
project_hook_data_shared_example.rb
reference_parser_helpers.rb
repo_helpers.rb
select2_helper.rb
services_shared_context.rb
setup_builds_storage.rb
stub_configuration.rb
stub_gitlab_calls.rb
stub_gitlab_data.rb
taskable_shared_examples.rb
test_env.rb Trim extra displayed carriage returns in diffs and files with CRLFs 2016-08-01 13:24:06 +02:00
wait_for_ajax.rb
webmock.rb
workhorse_helpers.rb