rspec & refact