Commit d9e65df4 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Resolve conflicts in spec/models/members/project_member_spec.rb

parent b9589e12
......@@ -13,11 +13,8 @@ class ProjectMember < Member
scope :in_project, ->(project) { where(source_id: project.id) }
<<<<<<< HEAD
before_destroy :delete_member_branch_protection
=======
>>>>>>> upstream/master
class << self
# Add users to projects with passed access option
#
......@@ -96,7 +93,6 @@ class ProjectMember < Member
private
<<<<<<< HEAD
def delete_member_branch_protection
if user.present? && project.present?
project.protected_branches.merge_access_by_user(user).destroy_all
......@@ -104,8 +100,6 @@ class ProjectMember < Member
end
end
=======
>>>>>>> upstream/master
def send_invite
notification_service.invite_project_member(self, @raw_invite_token) unless @skip_notification
......
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