RubyGems Navigation menu

rspec-rails-extra-routing 0.0.6

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.9.9
shoulda >= 0

Owners:

Authors:

  • Hugo Roque (a.k.a HugoLnx)

SHA 256 checksum:

662ca029bde7643493d9729cfcf0a323dc45f75be6fa1a4f511c3c4639b5bd71

Total downloads 7,278

For this version 3,057

Licenses:

N/A

Required Ruby Version: None

Links: