Re: [rspec-users] Difference between :each and :all

2011-01-31 Thread Steven Rogers
On Jan 31, 2011, at 3:38 AM, Evgeniy Dolzhenko wrote: > Btw. there is also before(:suite), and working from there wouldn't it make > sense to have > > 1. before(:suite) > 2. before(:group) > 3. before(:example) > > which would reflect the hierarchy of RSpec run (i.e. suite > group > example).

Re: [rspec-users] Top level object in model specs

2009-05-12 Thread Steven Rogers
On May 12, 2009, at 4:15 PM, Ben Mabey wrote: Steven Rogers wrote: I want to stub a global method in a model spec, but I can't figure out what's the equivalent in model specs for controller.stub! in controller specs and template.stub! in view specs . . . at least, it seems l

[rspec-users] Top level object in model specs

2009-05-12 Thread Steven Rogers
I want to stub a global method in a model spec, but I can't figure out what's the equivalent in model specs for controller.stub! in controller specs and template.stub! in view specs . . . at least, it seems like I need to do that in order to make acts_as_audited happy in models. Any thoug

Re: [rspec-users] Where does autospec come from?

2008-11-24 Thread Steven Rogers
On Nov 24, 2008, at 4:44 PM, Pat Maddox wrote: Steven Rogers <[EMAIL PROTECTED]> writes: I don't really expect anyone else to slog through that - I would really just like the one little tidbit "where does autospec come from?" autospec is installed as part of the rspec

Re: [rspec-users] Where does autospec come from?

2008-11-24 Thread Steven Rogers
On Nov 24, 2008, at 3:26 PM, Luis Lavena wrote: Is weird that you have autospec installed in two different places, unless there was some forced GEM_PATH and GEM_HOME for it. Yes, exactly - that's why I'm trying to figure out where among all this code and gems and install procedures that aut

Re: [rspec-users] Where does autospec come from?

2008-11-24 Thread Steven Rogers
On Nov 24, 2008, at 2:21 PM, Luis Lavena wrote: On Mon, Nov 24, 2008 at 6:18 PM, Steven Rogers <[EMAIL PROTECTED]> wrote: On Nov 24, 2008, at 2:05 PM, Scott Taylor wrote: On Nov 24, 2008, at 2:03 PM, Steven Rogers wrote: I'm working on a Rails project with someone else,

Re: [rspec-users] Where does autospec come from?

2008-11-24 Thread Steven Rogers
On Nov 24, 2008, at 2:05 PM, Scott Taylor wrote: On Nov 24, 2008, at 2:03 PM, Steven Rogers wrote: I'm working on a Rails project with someone else, and getting different results on specs. After a lot of poking around for differences, the only thing I can find is autospec in /opt/

[rspec-users] Where does autospec come from?

2008-11-24 Thread Steven Rogers
I'm working on a Rails project with someone else, and getting different results on specs. After a lot of poking around for differences, the only thing I can find is autospec in /opt/local/bin/ autospec vs. /usr/bin/autospec Seems like a big clue, but who actually installs this - rspec, Ze

Re: [rspec-users] any way to have a different SOUND from growl for a 'pass' rather than a 'fail' when using "./script/autospec" ???

2008-11-10 Thread Steven Rogers
On Nov 10, 2008, at 6:03 PM, Greg Hauptmann wrote: I'm on Mac too - so it may be as simple as changing the Growl Preferences to get this working then? (assuming I'm using vanilla Rspec gem). One easy way is to use qp - a command line utility for playing QuickTIme sounds. It's been removed f

Re: [rspec-users] rspec with continuations: very strange

2008-03-01 Thread Steven Rogers
On Mar 1, 2008, at 11:55 AM, Andrew WC Brown wrote: > Wow, thats reminds of when micheal jay fox flew back in time and he > almost broke his specs by going out with his mom. > "should_not be_nil" LawL set whiny_exceeding_lightspeed => true SR ___ r