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!

install:
=

Versions:

  1. 0.1.0 - April 05, 2011 (8 KB)
  2. 0.0.6 - April 05, 2011 (8 KB)
Show all versions (7 total)

Runtime Dependencies (1):

rspec-rails >= 2.5.0

Development Dependencies (4):

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

Owners:

Authors:

  • Hugo Roque (a.k.a HugoLnx)

SHA 256 checksum:

75d0898040c81344e3f6a42b296f7451a798415033b18f69ab98345cb4504221

Total downloads 7,261

For this version 4,190

Licenses:

N/A

Required Ruby Version: None

Links: