gitlab-org--gitlab-foss/spec/models/members
Dmitriy Zaporozhets 342d553709
Rename abilities to correspond contoller/model action names
write_ was renamed to create_
modify_  was renamed to update_

So now in update action we have next code

def create
  can?(current_user, :create_issue, @issue)
end

def update
  can?(current_user, :update_issue, @issue)
end

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-26 15:55:56 +02:00
..
group_member_spec.rb Update mock and stub syntax for specs 2015-06-22 12:13:46 +02:00
project_member_spec.rb Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00