How should we write rspecs for thor tasks.

I know to write specs for tasks with no option.
But how do we write spec for tasks with mandatory options
Kindly guide me for the same.

-- 
Posted via http://www.ruby-forum.com/.