encode_credentials(token, options = {}) Instance Public methods Encodes the given token and options into an Authorization header value. token - String token. options - optional Hash of the options. Returns String.
setup(*args, &block) Instance Public methods Add a callback, which runs before TestCase#setup.
run(preloader) Class Public methods
in(seconds) Instance Public methods Alias for: since
after_action(names, block) Instance Public methods Append a callback after actions. See #_insert_callbacks for parameter details. Aliased as after_filter.
test_inheritance_without_mapping() Instance Public methods
body() Instance Public methods
at_beginning_of_hour() Instance Public methods Alias for: beginning_of_hour
required(key) Instance Public methods Alias of require. require
defaults(defaults = {}) Instance Public methods Allows you to set default parameters for a route, such as this: defaults id: 'home' do match 'scoped_pages/(:id)', to: 'pages#show' end Using this, the :id parameter here will default to 'home'.
Page 13 of 2275