Sha256: e0b0da5003dbb3b6d8842cbcdcc6ca4ddceb6d95c73b411c654fafcaf096cdfe
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
require 'spec_helper' describe Popolo::OrganizationsController do describe 'routing' do routes { Popolo::Engine.routes } it 'routes to #index' do get('/organizations').should route_to('popolo/organizations#index') end it 'routes to #show' do get('/organizations/1').should route_to('popolo/organizations#show', id: '1') end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
popolo-0.0.3 | spec/routing/popolo/organizations_routing_spec.rb |