refact
rspec test