[rspec-users] Specifying spec and output format inline?

2007-09-17 Thread Adam Reed
Howdy from Austin, TX. I'm new to rspec, and am currently using it with the Watir testing library for web testing. I'm moving along at an ok pace so far, but I had a question. I just realized I could require 'spec' and forego running scripts from the command line. However, this limits me in m

Re: [rspec-users] "rake spec:doc" returns NO NAME (due to --dry-run) for each specify block

2007-09-17 Thread aslak hellesoy
On 9/17/07, Christopher D. Pratt <[EMAIL PROTECTED]> wrote: > Thanks for all the responses. Unfortunately, I apparently just like being > difficult. > > Tom: I installed the new version of rspec on a fresh app, so the first run > of script/generate rspec was from the trunk version ... good idea th

Re: [rspec-users] [ANN] rspec_todo -- spec'ing backwards

2007-09-17 Thread s.ross
David-- Worse, even though you sell it as a tool for dealing with legacy code > (code without tests), it will end up becoming the tool people use I think this is the part that is of the most concern. That people will substitute a tool for good judgment. That should not reflect poorly on BD

Re: [rspec-users] how do I get the beautiful html rspec results in textmate?

2007-09-17 Thread Sascha Lehrgole
On 9/17/07, Scott Taylor <[EMAIL PROTECTED]> wrote: > Works for me - through Bundles => RSpec => "Run Behaviour > Descriptions in Selected Files", although I'm using the rspec Bundle > checked out from trunk/. I use command+D (Run Behaviour Description). This works even if no file is selected in t

Re: [rspec-users] Authenticating before tests

2007-09-17 Thread peter.boling
Luke Galea-4 wrote: > > Could someone point me in the right direction? > > I thought the simplest way would be to either call the login action > from my other tests before(:all), but I can't seem to find how to > call another controller from within the spec for a different > controller. (

Re: [rspec-users] how do I get the beautiful html rspec results in textmate?

2007-09-17 Thread Bryan Liles
On Sun, 2007-09-16 at 21:43 -0400, Andrew WC Brown wrote: > I'm going through PeepCode RSpec Basics and he gets a beautiful rspec > results page in html when he presses a hotkey in TextMate. > I would guess it's along the lines of Apple + R but I don't get the > same results and I'm using the same