gitlab-org--gitlab-foss/spec/models
Fatih Acet c49517a004 Merge branch 'fix/persistent-import-data' into 'master'
Fix import_data being saved as a result of an invalid import_url

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/19479

Seem that in all cases the `import_url` was an empty string. The `import_url` is now validated correctly and no longer creates the `import_data`even if it fails validation. <= Should cover cases 1, 3, and 4 of https://gitlab.com/gitlab-org/gitlab-ce/issues/19479#note_13005276

Also, it now rescues from all exceptions when importing from a URL, so we make sure the `import_status` is failed after that. Covers case 2 of https://gitlab.com/gitlab-org/gitlab-ce/issues/19479#note_13005276

See merge request !5206
2016-07-14 14:50:34 +00:00
..
ci Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
concerns Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
hooks
members Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
project_services Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
ability_spec.rb
abuse_report_spec.rb
appearance_spec.rb
application_setting_spec.rb Add Application Setting to configure default Repository Path for new projects 2016-06-29 23:35:00 -04:00
award_emoji_spec.rb
blob_spec.rb
broadcast_message_spec.rb
build_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
commit_range_spec.rb
commit_spec.rb Optimize Banzai::Filter::RelativeLinkFilter 2016-06-21 10:53:16 -04:00
commit_status_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
deploy_key_spec.rb
deploy_keys_project_spec.rb
deployment_spec.rb Add specs for models and services 2016-06-14 13:51:12 +02:00
diff_note_spec.rb Make DiffNote#update_position private 2016-07-07 16:13:55 -04:00
email_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
environment_spec.rb Add specs for models and services 2016-06-14 13:51:12 +02:00
event_spec.rb Update test with new factory name 2016-07-07 15:57:38 -04:00
external_issue_spec.rb
forked_project_link_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
generic_commit_status_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
global_milestone_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
group_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
identity_spec.rb Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
issue_spec.rb
key_spec.rb Remove Duplicated keys add UNIQUE index to fingerprint 2016-06-20 13:29:04 +02:00
label_link_spec.rb
label_spec.rb Allow '?', or '&' for label titles 2016-07-05 20:57:09 -03:00
legacy_diff_note_spec.rb Add DiffNote model 2016-07-06 18:50:59 -04:00
member_spec.rb Exclude requesters from Project#members, Group#members and User#members 2016-07-01 17:44:46 +02:00
merge_request_diff_spec.rb Support renames in diff_for_path actions 2016-07-11 09:31:34 +01:00
merge_request_spec.rb Collapse large diffs by default 2016-07-08 10:56:55 +01:00
milestone_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
namespace_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
note_spec.rb Optimize system note visibility checking by hiding notes that 2016-07-11 15:09:21 -07:00
notification_setting_spec.rb Exclude projects pending delete from notifications 2016-07-07 20:49:17 +01:00
personal_access_token_spec.rb
project_group_link_spec.rb
project_security_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
project_snippet_spec.rb
project_spec.rb Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into fix/persistent-import-data 2016-07-13 13:44:07 +02:00
project_team_spec.rb
project_wiki_spec.rb
protected_branch_spec.rb Support wildcard matches for protected branches at the model level. 2016-07-05 10:50:34 +05:30
release_spec.rb
repository_spec.rb Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
service_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
snippet_spec.rb Fix visibility of private project snippets for members when searching 2016-06-22 20:09:19 -03:00
spam_log_spec.rb
todo_spec.rb
tree_spec.rb
user_spec.rb Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
wiki_page_spec.rb