gitlab-org--gitlab-foss/spec
Timothy Andrew f2ed82fa84
Implement final review comments from @DouweM and @rymai
- Have `Uniquify` take a block instead of a Proc/function. This is more
  idiomatic than passing around a function in Ruby.

- Block a user before moving their issues to the ghost user. This avoids a data
  race where an issue is created after the issues are migrated to the ghost user,
  and before the destroy takes place.

- No need to migrate issues (to the ghost user) in a transaction, because
  we're using `update_all`

- Other minor changes
2017-02-24 16:50:20 +05:30
..
bin
config Use newer mail_room to get require_relative support 2017-02-20 17:38:21 +01:00
controllers Merge branch 'create_branch_repo_less' into 'master' 2017-02-23 23:27:43 +00:00
db/production Introduce "stub_env" test helper for safely stubbing environment variables 2017-01-09 18:19:48 +01:00
factories Use a ghost boolean to track ghost users. 2017-02-24 16:50:20 +05:30
features Deleting a user shouldn't delete associated issues. 2017-02-24 16:50:19 +05:30
finders Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
fixtures Use newer mail_room to get require_relative support 2017-02-20 17:38:21 +01:00
helpers Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
initializers Enable Style/SpaceInsideBrackets 2017-02-23 09:31:56 -06:00
javascripts Merge branch 'master' into 'master' 2017-02-23 17:35:09 +00:00
lib Merge branch 'enable-rspec-be_eql-cop' into 'master' 2017-02-23 18:55:33 +00:00
mailers Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
migrations Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
models Implement final review comments from @DouweM and @rymai 2017-02-24 16:50:20 +05:30
policies Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
presenters/ci Revert "Prefer leading style for Style/DotPosition" 2017-02-23 09:33:05 -06:00
requests Test against default to '0', it should not set 2017-02-24 17:15:25 +08:00
routing Merge branch 'master' into jej-pages-picked-from-ee 2017-02-03 17:25:26 +00:00
rubocop/cop Enforce use of add_concurrent_foreign_key 2017-02-10 21:51:09 +01:00
serializers Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
services Implement final review comments from @DouweM and @rymai 2017-02-24 16:50:20 +05:30
support Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
tasks Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
uploaders Don't delete files from spec/fixtures 2017-01-03 15:37:32 +01:00
views Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
workers Revert "Enable Style/DotPosition" 2017-02-23 09:33:19 -06:00
factories_spec.rb
rails_helper.rb
rake_helper.rb
simplecov_env.rb
spec_helper.rb Shave spec/features/issues/filtered_search/dropdown_label_spec.rb from 10 minutes to 1.5 minutes 2017-02-03 19:08:21 +01:00