rspec testing the thor task