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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.1.0 - April 05, 2011 (8.0 KB)
  2. 0.0.6 - April 05, 2011 (8.0 KB)
显示所有版本 (共 7 个)

Runtime 依赖 (1):

rspec-rails >= 2.5.0

Development 依赖 (4):

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

业主:

作者:

  • Hugo Roque (a.k.a HugoLnx)

SHA 256 校验和:

75d0898040c81344e3f6a42b296f7451a798415033b18f69ab98345cb4504221

下载总量 7,274

这个版本 4,200

许可:

需要的 Ruby 版本:

链接: