[rspec-users] '$' placeholder naming can confuse your runner

2008-07-16 Thread Paolo Dona
Hi guys, I'm facing a strange behavior that smells like a bug. consider this scenario: Scenario: I'm cool Given that I am cool 4 times out of 7 and this step: Given(that I am cool $n times out of $n_total) do |n, n_total| ... end When running my story, this step is considered as PENDING.

[rspec-users] license to post rspec example

2008-07-16 Thread aidy lewis
Hi, Would I need to use a license or give credit if I posted on OpenQA an example of Rspec and Watir (with my own AUT object model)? Aidy ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] How to write specification for the *base* class API?

2008-07-16 Thread Ashley Moran
On Jul 15, 2008, at 3:24 pm, Pat Maddox wrote: This defines the contract of an Account abstraction... you can imagine different account types that might implement it in a way that the actual dollar values differ. For example, fees may be applied to one kind of account but not another. Anyone