Class: ONCCertificationG10TestKit::RestrictedAccessTest
- Inherits:
-
ResourceAccessTest
- Object
- Inferno::Test
- ResourceAccessTest
- ONCCertificationG10TestKit::RestrictedAccessTest
- Defined in:
- lib/onc_certification_g10_test_kit/restricted_access_test.rb
Instance Method Summary collapse
Methods inherited from ResourceAccessTest
#resource_group, #resource_search_test, #resource_type, #search_param_value, #search_params, #status_search_param_name, #status_search_param_value, #status_search_params
Instance Method Details
#request_should_succeed? ⇒ Boolean
8 9 10 |
# File 'lib/onc_certification_g10_test_kit/restricted_access_test.rb', line 8 def request_should_succeed? expected_resources.split(',').any? { |resource| resource.strip.casecmp? resource_type } end |