gitlab-org--gitlab-foss/spec
Lin Jen-Shin 5747b0d3ed Make deleting with optimistic locking respect NULL
For now deleting with optimistic locking is broken when
lock_version is still NULL, because Rails would try to
delete with `lock_version = 0` while in the database
the column is still `NULL`.

The monkey patches would force Rails just pass whatever
in the column, and stop Rails from casting `NULL` into `0`
when the value is read from database.

Closes #24766
2016-12-01 16:17:20 +08:00
..
bin
config
controllers Do not raise error in AutocompleteController#users when not authorized 2016-11-30 10:09:14 +05:00
factories Merge branch 'fix/create-pipeline-with-builds-in-transaction' into 'master' 2016-11-30 11:16:53 +00:00
features Speed up Group security access specs 2016-11-30 14:45:35 +08:00
finders Precalculate user's authorized projects in database 2016-11-18 20:25:45 +02:00
fixtures add parsing support for incoming html email 2016-11-17 11:59:44 +09:00
helpers Refactor issuable_filters_present to reduce duplications 2016-11-28 14:48:03 +05:00
initializers
javascripts Fix comma-dangle in function's arguments errors 2016-11-30 14:24:12 +00:00
lib Improve Gitlab::GitAccessWiki spec with download access checks 2016-11-30 16:02:25 -02:00
mailers Merge branch '24880-configurable-plaintext-emails' into 'master' 2016-11-29 12:05:23 +00:00
models Rename MergeRequest#pipeline to head_pipeline 2016-11-29 14:12:49 +01:00
policies Improve ProjectPolicy spec to check permissions when wiki is disabled 2016-11-30 16:02:25 -02:00
requests Merge branch 'api-branch-status' into 'master' 2016-11-30 17:40:39 +00:00
routing Add nested groups support to the routing 2016-11-23 14:08:36 +02:00
serializers Merge branch 'fix/ca-no-date' into 'master' 2016-11-30 10:01:56 +00:00
services Make deleting with optimistic locking respect NULL 2016-12-01 16:17:20 +08:00
support Merge branch '22719-provide-a-new-gitlab-workhorse-install-rake-task-similar-to-gitlab-shell-install' into 'master' 2016-12-01 03:39:15 +00:00
tasks/gitlab Merge branch '23718/backup-rake-task-human-readable' into 'master' 2016-12-01 03:39:31 +00:00
uploaders
views Prevent error when submitting a merge request and pipeline is not defined 2016-11-28 12:03:59 +01:00
workers Refresh project authorizations using a Redis lease 2016-11-25 13:35:01 +01:00
factories_spec.rb
rails_helper.rb
rake_helper.rb Move task helpers to a module 2016-11-30 12:20:21 +01:00
simplecov_env.rb
spec_helper.rb
teaspoon_env.rb