RubyGems Navigation menu

rspec-rails-extra-routing 0.1.0

Extension to rspec-rails that allows some shortcuts in routing tests. With it, this: describe "users routes" do describe "GET /" do it{{:get => '/'}.should route_to "users#index"} end describe "POST /" do it{{:post => '/'}.should be_routable} end end can be written like this: describe "users routes" do get('/').should route_to "users#index" post('/').should be_routable end

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 0.1.0 - April 05, 2011 (8 ko)
  2. 0.0.6 - April 05, 2011 (8 ko)
Voir toutes les versions (7)

Dépendances de Runtime (1):

rspec-rails >= 2.5.0

Dépendances de Development (4):

bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
shoulda >= 0

Propriétaires:

Auteurs:

  • Hugo Roque (a.k.a HugoLnx)

Total de contrôle SHA 256:

75d0898040c81344e3f6a42b296f7451a798415033b18f69ab98345cb4504221

Total de téléchargements 7 269

Pour cette version 4 196

License:

aucune

Version de Ruby requise: None

Liens: