Searched refs:Ability (Results 1 - 3 of 3) sorted by relevance

/ontohub/spec/models/
H A Dability_spec.rb4 describe Ability do
20 subject(:ability){ Ability.new(User.new, nil) }
40 subject(:ability){ Ability.new(reader, nil) }
60 subject(:ability){ Ability.new(owner, nil) }
82 subject(:ability){ Ability.new(editor, nil) }
114 subject(:ability){ Ability.new(User.new, nil) }
123 subject(:ability){ Ability.new(User.new, access_token.to_s) }
141 subject(:ability){ Ability.new(reader, nil) }
155 subject(:ability){ Ability.new(editor, nil) }
165 subject(:ability){ Ability
[all...]
/ontohub/app/controllers/
H A Dapplication_controller.rb44 @current_ability ||= Ability.new(current_user, params[:'access-token'])
/ontohub/app/models/
H A Dability.rb1 class Ability class
2 include CanCan::Ability

Completed in 8 milliseconds