spec/routing/popolo/areas_routing_spec.rb in popolo-0.0.1 vs spec/routing/popolo/areas_routing_spec.rb in popolo-0.0.2
- old
+ new
@@ -12,13 +12,9 @@
it 'routes to #show' do
get('/areas/1').should route_to('popolo/areas#show', id: '1')
end
- it 'routes to #show' do
- get('/areas/foo').should route_to('popolo/areas#show', id: 'foo')
- end
-
it 'routes to #nested_index' do
get('/areas/foo/areas').should route_to('popolo/areas#nested_index', path: 'foo')
end
it 'routes to #nested_show' do