diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-10 09:45:38 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2016-03-10 09:45:38 +0100 |
commit | 570f428b89fad526e6f7c9c4afd16a8ced83369a (patch) | |
tree | 1fa3f4acced8b921c4105fde193128ecce3fc733 /spec/models/project_spec.rb | |
parent | 3eb7ea49feaf9341b2eec6eb0c58ae2f0aa37864 (diff) | |
parent | 491ac7ce4b79c901e23799d2062f9f013f08c6c3 (diff) | |
download | gitlab-ce-redis-config-parser.tar.gz |
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into redis-config-parserredis-config-parser
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index c458d9c9b1b..2fa38a5d3d3 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -68,6 +68,7 @@ describe Project, models: true do it { is_expected.to have_many(:runners) } it { is_expected.to have_many(:variables) } it { is_expected.to have_many(:triggers) } + it { is_expected.to have_many(:todos).dependent(:destroy) } end describe 'modules' do |