No commit activity in last 3 years
No release in over 3 years
Routes are an important part of your application. The larger the app, the more valuable test-driven routing will be. This gem makes testing routes as easy as defining them.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme
Shoulda Routing Macros
====================

This is a simple plugin I plan to combine with my other macros to create a package at a later date.


Examples
========

If your route is:

    map.resources :checkens do |chickens|
      chickens.resources :eggs
    end

Then your tests should be:

    should_map_resources :chickens
    should_map_nested_resources :chickens, :eggs

If you have a singlton resource:

    map.resource :one_model_to_rule_them_all

Then your test will look very similar:

    should_map_resource :one_model_to_rule_them_all

It's fairly intuitive, but I'll add more documentation later.

Copyright (c) 2010 Jaime Bellmyer, released under the MIT license