Add spec for Rubocop#smart_path
Let Travis CI run rubocop
Revert "Disable false positive of RuboCop"

This reverts commit bdb343d791b8d537a9e601a4b73976c6924c9f37.