permissions_controller_spec.rb revision 7ca38d75d045fade73b81bff6fdf34f4755d75fb
require 'spec_helper'
context 'owner degradation' do
ERROR_TEXT = "You can't remove this owner permission"
before do
end
end
end
end
end
other_permission = create(:permission, subject: owner, role: role)
end
end
end
before do
end
before do
end
end
end
end
end
end
end
end
end
end
end
end