diff options
author | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-11-14 20:42:22 -0200 |
---|---|---|
committer | Douglas Barbosa Alexandre <dbalexandre@gmail.com> | 2016-11-17 15:10:13 -0200 |
commit | 0aac2e0706cd767993148826d723aa3641cbb2a4 (patch) | |
tree | d3f1708529146be7d3f27fd2227c96068062f37a /spec/models/subscription_spec.rb | |
parent | 346f58249242c0ccf278175c78fc000976912771 (diff) | |
download | gitlab-ce-0aac2e0706cd767993148826d723aa3641cbb2a4.tar.gz |
Allow subscriptions to be created without a project
Diffstat (limited to 'spec/models/subscription_spec.rb')
-rw-r--r-- | spec/models/subscription_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/models/subscription_spec.rb b/spec/models/subscription_spec.rb index ab674958387..9ab112bb2ee 100644 --- a/spec/models/subscription_spec.rb +++ b/spec/models/subscription_spec.rb @@ -8,7 +8,6 @@ describe Subscription, models: true do end describe 'validations' do - it { is_expected.to validate_presence_of(:project) } it { is_expected.to validate_presence_of(:subscribable) } it { is_expected.to validate_presence_of(:user) } |