On Fri, Sep 14, 2012 at 11:31 AM, ankush m. 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 gui
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?
--
Posted via http://www.ruby-forum.com/
On Fri, Sep 14, 2012 at 11:20 AM, S Ahmed wrote:
> I tried adding this to my application.rb:
>
> config.generators do |g|
> g.view_specs false
> g.helper_specs false
> end
See "Customizing your workflow" on http://guides.rubyonrails.org/generators.html
According to that, you need to somethin
I tried adding this to my application.rb:
config.generators do |g|
g.view_specs false
g.helper_specs false
end
But it didn't stop the generator from creating view/helper specs.
What am I doing wrong?
Also also tried doing this the configuration section:
config.view_specs = false
config.he