[rspec-users] Rspec for thor script

David Chelimsky dchelimsky at gmail.com
Fri Sep 14 16:47:35 UTC 2012

On Fri, Sep 14, 2012 at 11:31 AM, ankush m. <lists at ruby-forum.com> wrote:
> Hello all,
>           I recently developed a CLI extending thor API.
> While i was trying to write specs for thor's tasks, I couldn't find any
> way to write the same for tasks with mandatory options or with  options.
> So can anyone please guide me for the same?

I haven't written any myself, but I'd recommend taking a look at
thor's own specs for guidance:


More information about the rspec-users mailing list