Re: [rspec-users] Rspec 1.1.3 +ZenTest 3.9.1= rspec tests not found

2008-05-13 Thread sinclair bain
Hi, I have just been having the same problem on windows using autotest and/or rspec_autotest I have successfully moved to rspec and rspec on rails 1.1.3 ZenTest 3.9.2 So if you were on windows the fix in case you still may need it is here

[rspec-users] Testing that named_scope is defined

2008-05-13 Thread Helder Ribeiro
Hi guys, I'm just beginning to use RSpec and I ran into the issue of testing a named_scope. I'm not actually trying to test its behavior, as it's not my code, but I wanted to test at least that it's defined. I tried doing this: describe Post, .most_recent do it should be defined do

Re: [rspec-users] Testing that named_scope is defined

2008-05-13 Thread Jonathan Linowes
On May 13, 2008, at 6:39 PM, Helder Ribeiro wrote: I'm not actually trying to test its behavior, quick! Duck! INCOMING...! ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] rake spec:rcov failing

2008-05-13 Thread Alf Mikula
Steve, Did you have any luck with this? I ran into this problem today, with Rcov 0.8.1.2.0, RSpec 1.1.3, and REXML 3.1.7.3. -Alf -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list rspec-users@rubyforge.org

[rspec-users] user stories for load testing?

2008-05-13 Thread Rick Lee-Morlang
Hi all, We've recently been kicking around different ideas for simulating user behaviour for the purposes of load testing our backend. We hit on the idea of having user stories do double duty for both verifying behaviour and (if selected stories were driven en-masse by a distributed network

Re: [rspec-users] rake spec:rcov failing

2008-05-13 Thread Steve Downey
I havne't take a look yet, but a couple of points: - I was mistaken in my OP; I'm running REXML 3.1.7.3 - I saw a different post on a related topic that seemed to blame REXML I'd been meaning to go back to an earlier version of REXML and see if that fixed it since I had rcov working on this

Re: [rspec-users] Testing that named_scope is defined

2008-05-13 Thread Pat Maddox
On 5/13/08, Pat Maddox [EMAIL PROTECTED] wrote: On 5/13/08, Jonathan Linowes [EMAIL PROTECTED] wrote: On May 13, 2008, at 6:39 PM, Helder Ribeiro wrote: I'm not actually trying to test its behavior, quick! Duck! INCOMING...! ___

Re: [rspec-users] Testing that named_scope is defined

2008-05-13 Thread Helder Ribeiro
On Tue, May 13, 2008 at 9:20 PM, Pat Maddox [EMAIL PROTECTED] wrote: I wonder why OP doesn't create two records, call #most_recent, and verify that the record returned is the one with the larger timestamp. I'm sorry about the confusion here. Your idea sounds indeed better (I'll explain

Re: [rspec-users] Testing that named_scope is defined

2008-05-13 Thread David Chelimsky
Oi Helder, On May 13, 2008, at 9:14 PM, Helder Ribeiro wrote: On Tue, May 13, 2008 at 9:20 PM, Pat Maddox [EMAIL PROTECTED] wrote: I wonder why OP doesn't create two records, call #most_recent, and verify that the record returned is the one with the larger timestamp. I'm sorry about the