Re: [rspec-users] Simular to Include

2013-02-27 Thread reza . primardiansyah
It appears to duplicate implementation. Perhaps this can do: array2.each do |s2| array1.should be_any do |s1| s1.include s2 end end Or use zip instead Sent from my BlackBerry® smartphone from Sinyal Bagus XL, Nyambung Teruuusss...! -Original Message- From: Ervin Weber Sender:

[rspec-users] Rspec Rails high overhead

2009-01-03 Thread Reza Primardiansyah
Greetings, I found out that running RSpec on Rails takes too much overhead. It takes more than 16s per run although the specs only take less than 6s, like seen below. That means almost 11s overhead. I can't find the bottleneck. I use latest rspec, and rails 2.2 on Debian. $ time rake spec > (in /h

Re: [rspec-users] Rspec Rails high overhead

2009-01-05 Thread Reza Primardiansyah
Aslak, The best time I get is 6.3 seconds. I'm using "time script/server" command and hitting Ctrl-C immediately after I see "** Use CTRL-C to stop." On Sun, Jan 4, 2009 at 9:43 PM, aslak hellesoy wrote: > > > On Sun, Jan 4, 2009 at 3:58 AM, Reza Primardiansyah