ARID has a new home of it's own on RubyForge, and version 0.4 and improved documentation is now available.

ARID (ActiveResourceIntegrationDSL) is a Ruby on Rails plugin providing methods for simple and DRY integration testing of conventions-compliant RESTful Rails applications.

This version contains significant changes to how test methods are formatted and is NOT backwards compatible with tests for prior versions.

Changes

  • :expected_response option is now just :expects
  • creates_ and updates_ methods no longer go through the new and edit actions.
  • added builds_ and edits_ methods that do continue on to creates_ or updates_ if passed a :params hash.
  • renamed reads_ method to shows_ and aliased lists_ to shows_.
  • renamed deletes_ to destroys_.

Bug Fixes

  • significant updates to previously sparse documentation, now RDoc-able.

Ehancements

    added option to add HTTP headers to requests
  • added support for textarea and select fields
  • added support for nested resource paths

This version is currently being used in several production Rails 1.2.X apps and one Rails 2.0RC1 app still in development.

Comments: [add comment]