Re: [rspec-users] OT: Who To Ask About Screw.Unit?

2009-01-15 Thread Mike Gaffney
s.ross's email about Screw.Unit brought prompted me to ask this question: 1) What do you use for Javascript Unit testing? 2) How do you integrate it with a continuous build such as CCRB? (I'm guessing selenium). -Mike ___ rspec-users mailing list rsp

Re: [rspec-users] OT: Who To Ask About Screw.Unit?

2009-01-16 Thread Mike Gaffney
ported browser. It's actually a very nice setup for build machines once you get it working. -Mike Matt Wynne wrote: On 16 Jan 2009, at 06:58, Scott Taylor wrote: s.ross wrote: On Jan 15, 2009, at 7:24 AM, Mike Gaffney wrote: s.ross's email about Screw.Unit brought prompted me to ask th

Re: [rspec-users] testing capistrano tasks

2009-01-28 Thread Mike Gaffney
We actually have a machine that is a perfect clone of the production machine. The only difference is the passwords. We test all deployments to it first. We call it staging. Having a staging has 2 benefits: 1) We can test our deployment scripts, migrations, etc on as close as we can get to produc

Re: [rspec-users] Cucumber/Webrat fails to find fields when run after specs

2009-02-04 Thread Mike Gaffney
Are you running selenium or normal webrat (eg config.mode = :rails or config.mode = :selenium)? Christopher Bailey wrote: On Wed, Feb 4, 2009 at 12:54 PM, aslak hellesoy mailto:aslak.helle...@gmail.com>> wrote: On Wed, Feb 4, 2009 at 7:21 PM, Christopher Bailey mailto:ch...@cobaltedg

Re: [rspec-users] [Cucumber, rspec-rails] uninitialized constant ActionController::UrlEncodedPairParser

2009-02-16 Thread Mike Gaffney
They are now using using the parser in Rack. Likely Rspec doesn't have this yet on a release or possibly even master. Take a look at: http://webrat.lighthouseapp.com/projects/10503/tickets/161-urlencodedpairparser-removed-in-edge-rails For a similar patch. -Mike s.ross wrote: It seems there

Re: [rspec-users] validate_presence_of

2009-02-18 Thread Mike Gaffney
Pat, not nitpicking just using your eample, which was close, but you missed one of the reasons we like shoulda type tests:: should_require_attributes :body, :message => /wtf/ makes you put validates_presence_of :body, :message => "hey dude, wtf, you need a body!" because we have a bunch of cu

Re: [rspec-users] validate_presence_of

2009-02-19 Thread Mike Gaffney
g http://rubyforge.org/mailman/listinfo/rspec-users ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users -- -Mike Gaffney (http://rdocul.us) ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] Cucumber and selenium grid

2009-02-27 Thread Mike Gaffney
com> ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users -- -Mike Gaffney (http://rdocul.us) ___ rspec-users m

Re: [rspec-users] [cucumber] webrat+selenium integration problem: record not saved to database?

2009-03-24 Thread Mike Gaffney
If you actually want to use transactional fixtures with selenium, try out http://github.com/gaffo/mainline Something I coded up that allows selenium to work with transactional fixtures. Ben Mabey wrote: Balint Erdi wrote: Hey, I am writing a simple cucumber feature for a Rails app to test i