Re: [rspec-users] Rspec for thor script

2012-09-14 Thread David Chelimsky
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

[rspec-users] Rspec for thor script

2012-09-14 Thread ankush m.
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/

Re: [rspec-users] how to stop rspec from creating helper/view specs?

2012-09-14 Thread David Chelimsky
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

[rspec-users] how to stop rspec from creating helper/view specs?

2012-09-14 Thread S Ahmed
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