On Fri, Sep 14, 2012 at 11:31 AM, ankush m. <li...@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: https://github.com/wycats/thor/tree/master/spec HTH, David _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users