Commit 59d9f5a9 authored by Valery Sizov's avatar Valery Sizov

CE->EE fix app/models/project spec

parent 516b89ca
......@@ -72,7 +72,7 @@ class Project < ActiveRecord::Base
has_one :push_rule, dependent: :destroy
has_one :last_event, -> {order 'events.created_at DESC'}, class_name: 'Event'
has_many :boards, before_add: :validate_board_limit, dependent: :destroy
has_many :boards, dependent: :destroy
# Project services
has_one :campfire_service, dependent: :destroy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment