[rspec-users] How to kill a running spec

2008-11-16 Thread Nick Hoffman
Hi guys. Occasionally, I'll want to kill a long spec process that's running. Usually I hit CTRL+c to kill a running process, but doing that for a running spec just causes "^C" to be printed to the terminal, and whichever spec example was running to fail. I've also tried using /bin/kill to k

Re: [rspec-users] How to kill a running spec

2008-11-16 Thread Pat Maddox
I just hold ctl+c until it quits out. Pat On 11/16/08, Nick Hoffman <[EMAIL PROTECTED]> wrote: > Hi guys. Occasionally, I'll want to kill a long spec process that's > running. Usually I hit CTRL+c to kill a running process, but doing > that for a running spec just causes "^C" to be printed to th

Re: [rspec-users] How to kill a running spec

2008-11-16 Thread Nick Hoffman
On 2008-11-16, at 15:21, Pat Maddox wrote: I just hold ctl+c until it quits out. Pat Hahha, brute force it, eh? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] How to kill a running spec

2008-11-16 Thread Scott Taylor
On Nov 16, 2008, at 2:40 PM, Nick Hoffman wrote: Hi guys. Occasionally, I'll want to kill a long spec process that's running. Usually I hit CTRL+c to kill a running process, but doing that for a running spec just causes "^C" to be printed to the terminal, and whichever spec example was run

[rspec-users] mocking and stub comprehension

2008-11-16 Thread Sahyoun
Hello, I'm specing a controller, but having trouble getting my head around what I've created. I'm specing a products controller for an admin user. Two before filters check the user is logged in and authorized. A logged-in user only has admin privileges within her own subdomain. So, sarah,

Re: [rspec-users] mocking and stub comprehension

2008-11-16 Thread Zach Dennis
On Sun, Nov 16, 2008 at 5:53 PM, Sahyoun <[EMAIL PROTECTED]> wrote: > Hello, > > I'm specing a controller, but having trouble getting my head around what > I've created. > > I'm specing a products controller for an admin user. Two before filters > check the user is logged in and authorized. > A log

Re: [rspec-users] undefined method `run?' for Test::Unit:Module

2008-11-16 Thread David Chelimsky
On Sat, Nov 15, 2008 at 10:54 PM, Scott Taylor <[EMAIL PROTECTED]> wrote: > > On Nov 14, 2008, at 7:13 PM, Bret Pettichord wrote: > >> Hello. I just ran into an error I wanted to share. >> >> The error message is below. I tracked down the error to the following >> conditions: >> 1. I am using the n

Re: [rspec-users] Autotest style autotest/rails_rspec doesn't seem to exist. Aborting.

2008-11-16 Thread David Chelimsky
On Thu, Nov 13, 2008 at 9:18 AM, Ramon Tayag <[EMAIL PROTECTED]> wrote: > Yup, I submoduled them :) I suppose that's just like an external svn > repo. I'll try reinstalling them... but in the mean time, got any > ideas? Is this only happening in one rails app? or all of them? > > Ramon Tayag > >

[rspec-users] Examples using cucumber, celerity, rspec

2008-11-16 Thread Alvin Schur
I created some simple examples using cucumber, celerity, and rspec to verify the behaviour of a web application. The examples include: * verifying javascript ran on page load * verifying results of AJAX calls * responding to alerts and confirm dialog boxes * accessing iframes The example