[rspec-users] Problems with rspec 1.3.1 and Ruby 1.9.2

2010-12-29 Thread Brandon Ferguson
Hello, Recently was driving a spike on moving our app to Ruby 1.9 and ran into some problems with out test suite. I could be totally off here as I couldn't find much reference to rspec 1.3's ruby 1.9 compatibility. The error I'm getting is: NoMethodError in 'BusinessesController POST clear as a

[rspec-users] Specing Ajaxy Views

2010-12-29 Thread Shea Levy
Hi all, I am working on a feature to allow administrators of an online store to rearrange the order in which their product categories show up on the site. I want to use a simple implementation of sortable_lists (madrobby.github.com/scriptaculous/sortable-lists-demo/) to allow the administrators

Re: [rspec-users] Webrat or RSpec and Table Headers

2010-12-29 Thread Matt Wynne
On 29 Dec 2010, at 10:21, Matt Wynne wrote: > > On 29 Dec 2010, at 06:14, Shea Levy wrote: > >> Hi all, >> >> Suppose I have a table that lists all of my products, that includes a a >> Description somewhere in the first , and each product has its >> data held within a . After updating a >>

Re: [rspec-users] BDD and Interacting With External Resources

2010-12-29 Thread David Chelimsky
On Dec 29, 2010, at 12:01 AM, Shea Levy wrote: > Hi all, > > What's the best way to handle features which rely on an external API in a > behaviour-driven way? Suppose I have an app which manages online ordering > from several independent stores, with a cut taken from each purchase, and I > want

Re: [rspec-users] Webrat or RSpec and Table Headers

2010-12-29 Thread Matt Wynne
On 29 Dec 2010, at 06:14, Shea Levy wrote: > Hi all, > > Suppose I have a table that lists all of my products, that includes a a > Description somewhere in the first , and each product has its > data held within a . After updating a > product's description, I want to write something like: >

Re: [rspec-users] BDD and Performance

2010-12-29 Thread Matt Wynne
On 29 Dec 2010, at 05:49, Shea Levy wrote: > Hi all, > > What's the best way to implement performance enhancements from the > outside-in? For example, if I'm working test-free and I know I'm going to be > looking up my Shops by phone number often, I'll write a migration to make > phone_number