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:
= Copy to clipboard Copied!

instalar:
=

Versões:

  1. 0.1.0 - April 05, 2011 (8 KB)
  2. 0.0.6 - April 05, 2011 (8 KB)
Mostrar todas as versões (7)

Runtime Dependencies (1):

rspec-rails >= 2.5.0

Development Dependencies (4):

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

Donos:

Autores:

  • Hugo Roque (a.k.a HugoLnx)

SHA 256 checksum:

75d0898040c81344e3f6a42b296f7451a798415033b18f69ab98345cb4504221

Total de downloads 7.235

Desta versão 4.174

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: