summaryrefslogtreecommitdiff
path: root/spec/factories/subscriptions.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
* Make user/author use project.creator in most factoriesRémy Coutable2018-01-311-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* 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
|
* Add unique index to subscriptions on subscribable and user and projectDouglas Barbosa Alexandre2016-11-171-0/+7