update rubocop gem to ~> 0.23

module Rubocop was renamed to RuboCop!
fix spec code for rspec3