Class: GitHub::Employee::Auth::TestHelper::Employee
- Inherits:
-
Sinatra::Auth::Github::Test::Helper::User
- Object
- Sinatra::Auth::Github::Test::Helper::User
- GitHub::Employee::Auth::TestHelper::Employee
- Defined in:
- lib/github_employee_auth/test_helper.rb
Instance Method Summary collapse
Instance Method Details
#organization_member?(org_name) ⇒ Boolean
17 18 19 20 21 22 23 |
# File 'lib/github_employee_auth/test_helper.rb', line 17 def organization_member?(org_name) if id == 'github' true else super(org_name) end end |
#team_member?(id) ⇒ Boolean
10 11 12 13 14 15 16 |
# File 'lib/github_employee_auth/test_helper.rb', line 10 def team_member?(id) if id == 135235 true else super(id) end end |