Rspec refactor

broke one large method into two smaller methods