Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-02-02 Thread Kurt
We haven't had the time to try to isolate the cause of the slowdown, but whatever the cause, it seems to be widespread as I have seen others reporting slowdowns of the same magnitude we have experienced. Our suite of 700 tests used to run in about 1 minute and on the same machine, with the

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-02-01 Thread Kurt
I've started a chart of differences between RSpec 1 and 2 here: http://snyderscribbles.blogspot.com/2011/01/rspec-2-changes-from-rspec-1.html I'll gladly post any new discoveries anyone want to contribute. On Dec 4 2010, 3:22 pm, Jim Morris wolfma...@gmail.com wrote: I am trying to upgrade a

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-02-01 Thread Kurt
Most of our RSpec2 conversion has been done since version 2.4, so my report of performance 2-3 times slower than RSpec 1 is based on those releases. On Jan 13, 11:11 am, David Chelimsky dchelim...@gmail.com wrote: On Jan 13, 2011, at 12:36 PM, Kurt wrote: Hi -- Thanks for sharing all your

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-02-01 Thread David Chelimsky
On Feb 1, 2011, at 4:23 PM, Kurt wrote: I've started a chart of differences between RSpec 1 and 2 here: http://snyderscribbles.blogspot.com/2011/01/rspec-2-changes-from-rspec-1.html I'll gladly post any new discoveries anyone want to contribute. It would be great if you would contribute

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-02-01 Thread David Chelimsky
On Feb 1, 2011, at 4:31 PM, Kurt wrote: Most of our RSpec2 conversion has been done since version 2.4, so my report of performance 2-3 times slower than RSpec 1 is based on those releases. Are you sure that's all RSpec? rspec-core-2.2 actually runs faster than rspec-core-1.x, and a lot of

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-01-13 Thread Kurt
Hi -- Thanks for sharing all your tips. I couldn't understand your line about what replaces have_text, however. I don't see a method called matches or match... I think your list might be the start of an effort by users to document RSpec2 the hard way, since a lot has changed that the core team

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-01-13 Thread David Chelimsky
On Jan 13, 2011, at 12:36 PM, Kurt wrote: Hi -- Thanks for sharing all your tips. I couldn't understand your line about what replaces have_text, however. I don't see a method called matches or match... I think your list might be the start of an effort by users to document RSpec2 the hard

Re: [rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2011-01-13 Thread Jim Morris
On Jan 13, 10:36 am, Kurt k...@cissor.com wrote: Hi -- Thanks for sharing all your tips.  I couldn't understand your line about what replaces have_text, however.  I don't see a method called matches or match... Sorry that should be... response.body.should match(/../) it is the standard text

[rspec-users] Notes on upgrading from RSpec 1 to RSpec 2

2010-12-04 Thread Jim Morris
I am trying to upgrade a Rails 2.2.2 app to Rails3, its a pain ;) Part of this is I need to upgrade all my Specs to RSpec2, as this info does not seem to be in any one place, here is a summary of what I needed to do... * needed to rename all my views from .haml to .html.haml, (or .html.erb)