spec/controllers/popolo/areas_controller_spec.rb in popolo-0.0.1 vs spec/controllers/popolo/areas_controller_spec.rb in popolo-0.0.2
- old
+ new
@@ -23,15 +23,9 @@
it 'assigns the requested area as @area' do
get :show, id: @area.id.to_s
assigns(:area).should == @area
response.should be_success
end
-
- it 'gets the requested area by slug' do
- get :show, id: @area.slug
- assigns(:area).should == @area
- response.should be_success
- end
end
describe 'GET nested_index' do
it 'succeeds if properly nested' do
get :nested_index, path: 'canada/quebec/montreal'