gitlab-org--gitlab-foss/spec/support
Dmitriy Zaporozhets 6d22e96744 Merge branch 'fix-submodule-error-with-forked-project' into 'master'
Fix "Revspec not found" errors when viewing diffs in a forked project with submodules

## What does this MR do?

This MR fixes an error that occurs when viewing diffs in a forked project with submodules.

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

Testing this code was tricky. The only way this problem shows up is if the origin project does NOT have the submodule update commit. The introduction of gitlab-test-fork serves that purpose: it contains a submodule update not present in gitlab-test.

### Why was this MR needed?

A user would receive a 500 error when trying to view a merge request with a submodule update. #1413 has details on how to reproduce this issue.

### What are the relevant issue numbers / [Feature requests](http://feedback.gitlab.com/)?

#1413

See merge request !512
2015-04-30 16:47:35 +00:00
..
api_helpers.rb Refactor API classes. So api classes like Gitlab::Issues become API::Issues 2013-05-14 15:33:31 +03:00
capybara.rb Don't use capybara-screenshot in CI environments 2015-04-25 21:33:17 -04:00
db_cleaner.rb Updated rspec to rspec 3.x syntax 2015-02-12 19:17:35 +01:00
login_helpers.rb Upgrade to Font Awesome v4.2 2014-10-03 12:19:24 +02:00
matchers.rb Remove unnecessary page. from tests. 2014-09-26 09:51:17 +02:00
mentionable_shared_examples.rb Add to_param to mentionable spec's mock 2015-04-25 14:40:40 -04:00
reference_filter_spec_helper.rb Merge branch 'rs-issue-2269' into 'master' 2015-04-28 08:34:34 +00:00
repo_helpers.rb This MR extends the commit calendar so it searches for commits made with every email address the user has associated with his account. 2015-03-09 21:43:54 -07:00
select2_helper.rb Fix tests and unassigned filter for issues. Updated CHANGELOG 2015-03-27 00:27:51 -07:00
taskable_shared_examples.rb Correct usage of subject in specs 2015-04-16 16:30:16 -04:00
test_env.rb Fix "Revspec not found" errors when viewing diffs in a forked project with submodules 2015-04-27 20:42:38 -07:00