good rspec use expect instead of should
expect posts#index to assign post.all to @posts