gitlab-org--gitlab-foss/spec
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
..
config
controllers Cache todos pending/done dashboard query counts 2016-07-12 18:57:52 +02:00
factories Add approval required todos 2016-07-12 19:01:09 +01:00
features Merge branch 'add-2fa-check-to-oauth' into 'master' 2016-07-12 20:53:09 +00:00
finders Avoid describe-ing symbols in specs 2016-07-12 10:27:58 -05:00
fixtures Merge branch 'better-parallel-diff' into 'master' 2016-07-13 18:10:01 +00:00
helpers Merge branch 'master' into faster-diffs 2016-07-11 17:19:17 -04:00
initializers Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
javascripts adds test to check json fields on simple request and changes the url request format 2016-07-12 16:42:38 +01:00
lib Merge branch 'fix-label-reference-filter' into 'master' 2016-07-13 19:59:55 +00:00
mailers Represent DiffRefs as proper class instead of tuple array 2016-07-06 18:50:58 -04:00
models Merge branch 'fix/persistent-import-data' into 'master' 2016-07-14 14:50:34 +00:00
requests Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
routing Fix failing tests. 2016-07-11 16:11:33 -06:00
services Revert "Merge branch '18193-developers-can-merge' into 'master' " 2016-07-13 13:57:30 -05:00
support Merge branch 'add-2fa-check-to-oauth' into 'master' 2016-07-12 20:53:09 +00:00
tasks/gitlab Enable Style/EmptyLines cop, remove redundant ones 2016-07-01 21:56:17 +02:00
views Do not show build retry link when build is active 2016-06-30 11:06:19 +02:00
workers Expire the branch cache after git gc runs 2016-07-12 05:42:19 -07:00
factories_spec.rb
rails_helper.rb
spec_helper.rb We're not using them (and look at the typo) 2016-07-12 22:17:00 +08:00
teaspoon_env.rb