Module: Aegis::Spec::Matchers

Defined in:
lib/aegis/spec/matchers.rb

Defined Under Namespace

Classes: BeAllowedTo, CheckPermissions

Instance Method Summary collapse

Instance Method Details

#be_allowed_to(*args) ⇒ Object



79
80
81
# File 'lib/aegis/spec/matchers.rb', line 79

def be_allowed_to(*args)
  BeAllowedTo.new(*args)
end

#check_permissions(*args) ⇒ Object



43
44
45
# File 'lib/aegis/spec/matchers.rb', line 43

def check_permissions(*args)
  CheckPermissions.new(*args)
end