gitlab-org--gitlab-foss/spec/models
Izaak Alpert 3d7194f011 Merge Request on forked projects
The good:

 - You can do a merge request for a forked commit and it will merge properly (i.e. it does work).
 - Push events take into account merge requests on forked projects
 - Tests around merge_actions now present, spinach, and other rspec tests
 - Satellites now clean themselves up rather then recreate

The questionable:

 - Events only know about target projects
 - Project's merge requests only hold on to MR's where they are the target
 - All operations performed in the satellite

The bad:

  -  Duplication between project's repositories and satellites (e.g. commits_between)

(for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos)

Fixes:

Make test repos/satellites only create when needed
-Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap)
-project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually
-fixed remote removal
-How to merge renders properly
-Update emails to show project/branches
-Edit MR doesn't set target branch
-Fix some failures on editing/creating merge requests, added a test
-Added back a test around merge request observer
-Clean up project_transfer_spec, Remove duplicate enable/disable observers
-Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well
-Signifant speed ups for tests
-Update formatting ordering in notes_on_merge_requests
-Remove wiki schema update
Fixes for search/search results
-Search results was using by_project for a list of projects, updated this to use in_projects
-updated search results to reference the correct (target) project
-udpated search results to print both sides of the merge request

Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
2013-07-17 22:41:30 -04:00
..
concerns Issuable consern uses StateMachine now 2013-02-18 14:43:49 +04:00
commit_spec.rb Merge Request on forked projects 2013-07-17 22:41:30 -04:00
deploy_key_spec.rb Annotated 2013-06-19 15:40:33 +03:00
deploy_keys_project_spec.rb Annotated 2013-06-19 15:40:33 +03:00
event_spec.rb stub notification in event model 2013-03-26 19:27:39 +02:00
forked_project_link_spec.rb Merge Request on forked projects 2013-07-17 22:41:30 -04:00
gitlab_ci_service_spec.rb Annotated 2013-06-19 15:40:33 +03:00
gollum_wiki_spec.rb Dont init repo on every create(:repo) 2013-04-01 17:27:44 +03:00
group_spec.rb group add_users spec 2013-06-26 15:32:09 +03:00
issue_spec.rb Annotated 2013-06-19 15:40:33 +03:00
key_spec.rb Validate fingerprint uniqueness 2013-07-17 15:17:18 +02:00
merge_request_spec.rb Merge Request on forked projects 2013-07-17 22:41:30 -04:00
milestone_spec.rb cattr_accessor is not threadsafe! 2013-06-11 18:15:18 +03:00
namespace_spec.rb Move directory logic out of model. Use Gitlab:Shell class to interact with file system 2013-03-21 22:11:08 +02:00
note_spec.rb Merge Request on forked projects 2013-07-17 22:41:30 -04:00
project_security_spec.rb Project has now correct owner and creator. Increased test coverage 2013-01-02 19:00:00 +02:00
project_snippet_spec.rb Annotated 2013-06-19 15:40:33 +03:00
project_spec.rb Merge Request on forked projects 2013-07-17 22:41:30 -04:00
project_team_spec.rb remove tests for unexisting methods 2013-02-26 11:17:02 +02:00
protected_branch_spec.rb Fixed: post-receive, project remove, tests 2013-02-05 12:47:50 +02:00
service_hook_spec.rb Annotated 2013-06-19 15:40:33 +03:00
service_spec.rb Annotated 2013-06-19 15:40:33 +03:00
snippet_spec.rb Annotated 2013-06-19 15:40:33 +03:00
system_hook_spec.rb Annotated 2013-06-19 15:40:33 +03:00
user_spec.rb Fix broken factory 2013-06-22 16:46:57 +03:00
users_group_spec.rb Annotated 2013-06-19 15:40:33 +03:00
users_project_spec.rb Annotated 2013-06-19 15:40:33 +03:00
web_hook_spec.rb Annotated 2013-06-19 15:40:33 +03:00
wiki_page_spec.rb Replace current Wiki system with Gollum Wikis. 2013-03-09 16:39:51 -08:00