Sha256: 0c708069ed4baa8aa30ef52cc5d85958ce197d5ae6314441b644bb2a3f981c81
Contents?: true
Size: 426 Bytes
Versions: 8
Compression:
Stored size: 426 Bytes
Contents
class FakeUser def id 0 end def can?(*args) true end def cannot?(*args) !can?(*args) end def is_root? true end def is_not_root? !is_root? end def resources Typus::Configuration.roles[role].compact end def applications Typus.applications end def application(name) Typus.application(name) end def role Typus.master_role end def name end end
Version data entries
8 entries across 8 versions & 1 rubygems