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

Versions:

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

Runtime Dependencies:

Authors:

  • Hugo Roque (a.k.a HugoLnx)

Owners:

Edc49c0f3c5b5e50e7e2c8ade6d3d21b

Total downloads 2,232

For this version 1,201

Show all versions (7 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'rspec-rails-extra-routing', '~> 0.1.0' = Copy to clipboard Copied!

install:
gem install rspec-rails-extra-routing = Copy to clipboard Copied!

Links: