Module: TestAccess::ExampleMethods

Defined in:
lib/chris_lib/test_access.rb

Overview

where path is a string of the form url_path and actions is a hash of symbols that represent actions to be protected. An example call is it_should_route_to('login_path',:edit,:update). The call is made in a describe or context block with a preceding require TestAccess.