Re: [rspec-users] how many scenarios

2008-08-15 Thread Mark Wilden
On Fri, Aug 15, 2008 at 4:51 PM, Jonathan Linowes <[EMAIL PROTECTED]>wrote: > Hi, at the risk of posing an insignificant question, I'm curious how many > Scenarios you are putting into a given Story file? How many would you > consider 'alot'? 'too much'? and why? > As few as possible. As many as

[rspec-users] how many scenarios

2008-08-15 Thread Jonathan Linowes
Hi, at the risk of posing an insignificant question, I'm curious how many Scenarios you are putting into a given Story file? How many would you consider 'alot'? 'too much'? and why? ___ rspec-users mailing list rspec-users@rubyforge.org http://ruby

Re: [rspec-users] Proper Encapsulation of SQL WHERE / ORDER BY Clauses

2008-08-15 Thread Scott Taylor
On Aug 15, 2008, at 9:29 AM, David Chelimsky wrote: On Aug 15, 2008, at 6:46 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: On 15 Aug 2008, at 12:25, David Chelimsky wrote: Hey Matt - welcome! The paginate() method lives on the model class, so there's nothing stopping you from wrapping those ca

Re: [rspec-users] Any news on the rSpec books?

2008-08-15 Thread Dan North
There are also some success stories around using rspec story runner + jruby as a functional testing layer for Java apps. Someone blogged about it a while ago but I forget who. Cheers, Dan 2008/8/15 David Chelimsky <[EMAIL PROTECTED]> > > On Aug 15, 2008, at 6:39 AM, Matt Wynne <[EMAIL PROTECTED]

[rspec-users] Rake and Story HTML

2008-08-15 Thread aidy lewis
Hi, I have a rake file require 'rake' require 'rake/runtest' task :default => [:dcs] task :dcs do Rake.run_tests 'projects/dcs/runner/**/*.rb' end That cycles through the runner folder and executes the tests. However, I am unsure as to where I can run the ruby command with the html forma

Re: [rspec-users] Any news on the rSpec books?

2008-08-15 Thread David Chelimsky
On Aug 15, 2008, at 6:39 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: Aidy Lewis (who posts on here from time to time) and I were using RSpec at a .NET shop, using the story runner as a layer over Watir to drive ASP.NET websites, and I know Aidy is still carrying on with that work. I'd sugg

Re: [rspec-users] Proper Encapsulation of SQL WHERE / ORDER BY Clauses

2008-08-15 Thread David Chelimsky
On Aug 15, 2008, at 6:46 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: On 15 Aug 2008, at 12:25, David Chelimsky wrote: Hey Matt - welcome! The paginate() method lives on the model class, so there's nothing stopping you from wrapping those calls in methods on the model, slinging around the params

[rspec-users] Autotest and subclasses / namespaces

2008-08-15 Thread Matt Wynne
I am writing a controller admin/cities_controller.rb it inherits from AdminController, so it's defined like class Admin::CitiesController > AdminController Whenever I save the controller file, autotest freaks out: uninitialized constant Admin::AdminController (NameError) I'm p

Re: [rspec-users] Proper Encapsulation of SQL WHERE / ORDER BY Clauses

2008-08-15 Thread Matt Wynne
On 15 Aug 2008, at 12:25, David Chelimsky wrote: Hey Matt - welcome! The paginate() method lives on the model class, so there's nothing stopping you from wrapping those calls in methods on the model, slinging around the params object. # CityController def get_cities City.paginate_all(params

Re: [rspec-users] Any news on the rSpec books?

2008-08-15 Thread Matt Wynne
Aidy Lewis (who posts on here from time to time) and I were using RSpec at a .NET shop, using the story runner as a layer over Watir to drive ASP.NET websites, and I know Aidy is still carrying on with that work. I'd suggest including a chapter about how to drive non-ruby apps through RSp

Re: [rspec-users] Proper Encapsulation of SQL WHERE / ORDER BY Clauses

2008-08-15 Thread David Chelimsky
On Fri, Aug 15, 2008 at 5:28 AM, Matt Wynne <[EMAIL PROTECTED]> wrote: > Hi TDD Fans, > I'm pretty new to Ruby / RSpec / Rails but not to TDD. > This is more of a general 'how do you do good design in a rails app' > question than an rspec-specific question. I'm asking it here because I know > this

Re: [rspec-users] Any news on the rSpec books?

2008-08-15 Thread David Chelimsky
On Fri, Aug 15, 2008 at 3:59 AM, Martin Bernd Schmeil <[EMAIL PROTECTED]> wrote: > Any news on this? We've enlisted the help of three more authors: Dan North, Bryan Helmkamp and Zach Dennis. Dan is going to contribute a BDD overview. Bryan and Zach are working on the section on using RSpec with Ra

[rspec-users] Proper Encapsulation of SQL WHERE / ORDER BY Clauses

2008-08-15 Thread Matt Wynne
Hi TDD Fans, I'm pretty new to Ruby / RSpec / Rails but not to TDD. This is more of a general 'how do you do good design in a rails app' question than an rspec-specific question. I'm asking it here because I know this list is read by lots of people who care about good design, but please fe

Re: [rspec-users] Any news on the rSpec books?

2008-08-15 Thread Martin Bernd Schmeil
Any news on this? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users