spec/controllers/popolo/posts_controller_spec.rb in popolo-0.0.1 vs spec/controllers/popolo/posts_controller_spec.rb in popolo-0.0.2
- old
+ new
@@ -18,13 +18,7 @@
it 'assigns the requested post as @post' do
get :show, id: @post.id.to_s
assigns(:post).should == @post
response.should be_success
end
-
- it 'gets the requested post by slug' do
- get :show, id: @post.slug
- assigns(:post).should == @post
- response.should be_success
- end
end
end