summaryrefslogtreecommitdiff
path: root/spec/factories/project_hooks.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add frozen_string_literal to spec/factoriesfrozen_string_spec_factoriesThong Kuah2019-07-261-0/+2
| | | | | Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
* Merge branch 'jej/mattermost-notification-confidentiality-10-6' into ↵Douwe Maan2018-04-051-0/+1
| | | | | | | | | | 'security-10-6' [10.6] Prevent notes on confidential issues from being sent to chat See merge request gitlab/gitlabhq!2366 # Conflicts: # app/helpers/services_helper.rb
* Replace factory_girl_rails with factory_bot_railsrc/use-factory_bot_railsRémy Coutable2017-12-141-1/+1
| | | | | | | | | | | I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands: ``` grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|" grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|" ``` Signed-off-by: Rémy Coutable <remy@rymai.me>
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Wrong data type when testing webhooksAlexander Randa2017-07-201-0/+1
|
* Merge branch 'bvl-rename-build-events-to-job-events' into 'master' cherry-pick-0663458cDouwe Maan2017-05-161-1/+1
| | | | | | | Rename `build_events` to `job_events` Closes #31620 See merge request !11287
* Revert "Merge branch 'bvl-rename-build-events-to-job-events' into 'master'"Douwe Maan2017-05-151-1/+1
| | | This reverts merge request !11287
* Rename `build_events` to `job_events` in codeBob Van Landuyt2017-05-151-1/+1
|
* Implement ability to update hooksAlexander Randa2017-04-281-0/+2
|
* Don't use FFaker in factories, use sequences insteadRémy Coutable2017-04-031-1/+1
| | | | | | | FFaker can generate data that randomly break our test suite. This simplifies our factories and use sequences which are more predictive. Signed-off-by: Rémy Coutable <remy@rymai.me>
* api: expose wiki_page_events project hook field in the APIBen Boeckel2016-08-241-0/+1
|
* Make explicit call for all event types for ProjectHook factoryKamil Trzcinski2016-08-121-9/+7
|
* Have trait all_events_enabled so that's easier to reuse, feedback:Lin Jen-Shin2016-08-121-0/+12
| | | | https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13823349
* Backported minimal safewebhook implementation to GitLab CEGabriel Mazetto2016-04-301-0/+4
|
* Move all factory definitions to their own fileRobert Speicher2016-03-041-0/+5