Commit Graph

18 Commits

Author SHA1 Message Date
GitLab Bot 67049ac7aa Add latest changes from gitlab-org/gitlab@master 2021-10-26 18:09:19 +00:00
GitLab Bot 78a62a7c7a Add latest changes from gitlab-org/gitlab@master 2021-09-16 18:11:32 +00:00
GitLab Bot f4d51a9f71 Add latest changes from gitlab-org/gitlab@master 2021-07-29 15:09:48 +00:00
GitLab Bot 0ae8428c8e Add latest changes from gitlab-org/gitlab@master 2021-05-11 21:10:21 +00:00
GitLab Bot 2eda658f34 Add latest changes from gitlab-org/gitlab@master 2020-04-15 21:09:18 +00:00
GitLab Bot 6b9d3a4e83 Add latest changes from gitlab-org/gitlab@master 2020-01-29 18:08:47 +00:00
GitLab Bot 41aba3c68d Add latest changes from gitlab-org/gitlab@master 2019-09-27 00:06:23 +00:00
GitLab Bot 80f61b4035 Add latest changes from gitlab-org/gitlab@master 2019-09-18 14:02:45 +00:00
GitLab Bot b7dfe2ae40 Add latest changes from gitlab-org/gitlab@master 2019-09-13 13:26:31 +00:00
Thong Kuah f0391c2517 Add frozen_string_literal to spec/support
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-07-25 17:33:34 +12:00
Heinrich Lee Yu aeb67dd489 Upgrade to Rails 5.2
Updates changed method names and fixes spec failures
2019-07-12 10:15:31 +08:00
Lin Jen-Shin 25ef6f51c9
Use fake application settings for migration tests 2018-12-19 11:24:54 +01:00
Stan Hu 8fd2c8b16a Prevent attr_encrypted models from being overriden
Fix failing spec in spec/controllers/admin/hooks_controller_spec.rb

attr_encrypted expects models to have their attribute methods defined,
or it will override them with standard Ruby accessors. Migration specs
that rolled back the state of the database after columns were migrated
to encrypted values were interfering with these definitions. To ensure
that the SystemHook specs pass, we need to call
`SystemHook.define_attribute_methods` to ensure that attr_encrypted sees
the right methods that reflect the latest state of the database.

Closes https://gitlab.com/gitlab-org/gitlab-ee/issues/8234
2018-11-07 12:18:04 -08:00
Jarka Košanová f4c861db6a Add name definition for table method 2018-09-24 22:50:41 +02:00
Jarka Kadlecová fa36101a7f Use data_source_exists? instead of table_exists?
Use data_source_exists? where possible instead of table_exists? in order to be Rails5 compatible
2018-06-14 08:39:43 +02:00
Grzegorz Bizon d8d0067bf5 Add changelog for pipeline build foreign key 2018-05-08 16:44:00 +02:00
Grzegorz Bizon 479a15e722 Add database foreign key between pipelines and builds 2018-05-08 16:39:29 +02:00
Rémy Coutable 023d4f6f2f
Move spec helpers/matchers/shared examples/contexts to their relevant folder
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-23 12:20:30 +02:00