active_resource_integration_dsl.rb

Path: lib/active_resource_integration_dsl.rb
Last Update: Sat Oct 13 16:02:40 -0600 2007

ARID provides a simple & DRY method of writing intergration tests for RESTful controllers and views that follow standard conventions.

  • Checks that controllers respond as expected to different methods.
  • On create and update tests, confirms that forms in new and edit views contain the correct action, method, and inputs to submit the data that the test wants to submit.
  • Performs AJAX requests instead of standard requests simply by passing the :via_ajax => true option with your test.
  • Accepts blocks with tests to perform additional application specific tests.

Complete API Documentation @

[Validate]