Forum: Ruby Rspec for thor script

Posted by ankush m. (ankush_m)
on 2012-09-14 18:23
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.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.