- Changes
- route_to matcher delegates to assert_recognizes instead of assert_routing
- update generators to use as_new_record instead of :new_record => true
- Enhancements
- add --webrat-matchers flag to scaffold generator (for view specs)
- separate ActiveModel and ActiveRecord APIs in mock_model and stub_model
- ControllerExampleGroup uses controller as the implicit subject by default (Paul Rosania)
-
Enhancements
- autotest mapping improvements (Andreas Neuhaus)
-
Bug fixes
- delegate flunk to assertion delegate
-
Enhancements
- infer controller and action path_params in view specs
- more cucumber features (Justin Ko)
- clean up spec helper (Andre Arko)
- render views in controller specs if controller class is not ActionController::Base
- routing specs can access named routes
- add assign(name, value) to helper specs (Justin Ko)
- stub_model supports primary keys other than id (Justin Ko)
- encapsulate Test::Unit and/or MiniTest assertions in a separate object
- support choice between Webrat/Capybara (Justin Ko)
- removed hard dependency on Webrat
- support specs for 'abstract' subclasses of ActionController::Base (Mike Gehard)
- be_a_new matcher supports args (Justin Ko)
-
Bug fixes
- support T::U components in mailer and request specs (Brasten Sager)