Adds specs for PostsController#by_number.
Merge pull request #1978 from velesin/posts_controller__by_number_tests

Adds specs for PostsController#by_number.