Class: AssignmentsPermissions

Inherits:
AssignmentsBase show all
Defined in:
lib/sambal-cle/page_objects/assignments.rb

Overview

The Permissions Page in Assignments

Class Method Summary collapse

Methods inherited from AssignmentsBase

listview_elements, menu_elements

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Class Method Details

.chekbocks(*method_names) ⇒ Object



264
265
266
267
268
269
270
# File 'lib/sambal-cle/page_objects/assignments.rb', line 264

def self.chekbocks(*method_names)
  method_names.each do |method_name|
    define_method method_name do |role|
      self.frm.checkbox(:id=>"#{role}asn.#{method_name.to_s.gsub("_", ".")}")
    end
  end
end