gitlab-org--gitlab-foss/spec/lib/gitlab/git
Sean McGivern 9a73b634ab Add table for files in merge request diffs
This adds an ID-less table containing one row per file, per merge request
diff. It has a column for each attribute on Gitlab::Git::Diff that is serialised
currently, with the advantage that we can easily query the attributes of this
new table.

It does not migrate existing data, so we have fallback code when the legacy
st_diffs column is present instead. For a merge request diff to be valid, it
should have at most one of:

* Rows in this new table, with the correct merge_request_diff_id.
* A non-NULL st_diffs column.

It may have neither, if the diff is empty.
2017-06-16 18:30:01 +01:00
..
attributes_spec.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
blame_spec.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
blob_snippet_spec.rb Fix RSpec/DescribeSymbol cop violations 2017-03-24 19:04:03 -04:00
blob_spec.rb Fix specs 2017-04-17 18:31:23 -05:00
branch_spec.rb Incorporate Gitaly's local_branches operation into repo code 2017-05-17 18:12:10 -04:00
commit_spec.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
compare_spec.rb Fix Diff::Position#diff_file for positions on straight diffs 2017-06-06 14:48:05 -05:00
diff_collection_spec.rb Increase diff limits to 100 KB for collapse and 200 KB overall 2017-06-02 19:37:09 +01:00
diff_spec.rb Add table for files in merge request diffs 2017-06-16 18:30:01 +01:00
env_spec.rb Add a Gitlab::Git::Env to store Git-specific env thread-safely 2017-04-10 16:10:18 +02:00
hook_spec.rb Use :empty_project where possible throughout spec/lib 2017-01-25 12:25:42 -05:00
index_spec.rb Refactor changing files in web UI 2017-04-20 00:37:44 +00:00
repository_spec.rb Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
rev_list_spec.rb Retrieve Git-specific env in Gitlab::Git::RevList and add a new #new_refs method 2017-04-10 16:10:18 +02:00
tag_spec.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
tree_spec.rb Incorporate Gitaly client for refs service 2017-04-04 16:53:44 +02:00
util_spec.rb Enable the Style/TrailingCommaInLiteral cop 2017-05-10 18:25:45 +02:00