Re: [rspec-users] Possible Problem with RSpec and

2007-11-28 Thread Stefan Magnus Landrø
We saw some annoying behavior related to pending tests. Maybe you could delete it and rerun your specs? An error typically indicates that you have some sort of error in your code - failing tests should not cause rake to abort. Stefan 2007/11/25, James B. Byrne <[EMAIL PROTECTED]>: > > Sorry to b

Re: [rspec-users] Possible Problem with RSpec and

2007-11-28 Thread aslak hellesoy
On 11/28/07, Stefan Magnus Landrø <[EMAIL PROTECTED]> wrote: > We saw some annoying behavior related to pending tests. Maybe you could > delete it and rerun your specs? > > An error typically indicates that you have some sort of error in your code - > failing tests should not cause rake to abort. >

Re: [rspec-users] Possible Problem with RSpec and

2007-11-28 Thread Stefan Magnus Landrø
I believe I was a bit quick on this one Of course, if you can't run your tests, the build should fail and return non-0 as fast as possible. However, it would be nice to distinguish between errors and failures. I initially thought rake would output "rake aborted!" only when you have errors - n

Re: [rspec-users] Possible Problem with RSpec and

2007-11-28 Thread David Chelimsky
On Nov 28, 2007 2:38 AM, Stefan Magnus Landrø <[EMAIL PROTECTED]> wrote: > We saw some annoying behavior related to pending tests. Can you be more specific? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspe

Re: [rspec-users] Possible Problem with RSpec and

2007-11-28 Thread David Chelimsky
On Nov 28, 2007 7:16 AM, Stefan Magnus Landrø <[EMAIL PROTECTED]> wrote: > However, it would be nice to distinguish between errors and failures. I > initially thought rake would output "rake aborted!" only when you have > errors - not just failing tests, and as a ruby newbie I sometimes found it >

[rspec-users] Broken edge

2007-11-28 Thread Daniel Tenner
Hi all, Not sure if I'm the only one with this problem... We're on edge for both rails and rspec, and i just did an update... Some apparently innocuous rails stuff was updated, and then half my specs broke due to an error in rspec_on_rails: ArgumentError in 'UserController without logged in u

Re: [rspec-users] Broken edge

2007-11-28 Thread David Chelimsky
On Nov 28, 2007 8:29 AM, Daniel Tenner <[EMAIL PROTECTED]> wrote: > Hi all, > > Not sure if I'm the only one with this problem... > > We're on edge for both rails and rspec, and i just did an update... > Some apparently innocuous rails stuff was updated, and then half my > specs broke due to an err

Re: [rspec-users] Broken edge

2007-11-28 Thread Stefan Magnus Landrø
To avoid this sort of issue, I recommend using piston. With piston you can check in revision combinations that actually work in your source tree without using svn externals. Stefan 2007/11/28, Daniel Tenner <[EMAIL PROTECTED]>: > > Hi all, > > Not sure if I'm the only one with this problem... > >

Re: [rspec-users] Broken edge

2007-11-28 Thread Daniel Tenner
8228 and 2997! :-( Dang.. what else could it be? It looks like basically, "render" is what's broken... all the pages with redirect_to are working fine in the specs. When I take one of the broken actions and make it redirect_to instead of rendering, the number of failures goes down, and the

Re: [rspec-users] Broken edge

2007-11-28 Thread David Chelimsky
On Nov 28, 2007 8:44 AM, Daniel Tenner <[EMAIL PROTECTED]> wrote: > 8228 and 2997! :-( > > Dang.. what else could it be? It looks like basically, "render" is > what's broken... all the pages with redirect_to are working fine in > the specs. When I take one of the broken actions and make it > redire

[rspec-users] textmate bundle

2007-11-28 Thread Zach Dennis
Does anyone else have issues running rspec textmate bundle? I've got revision 2997, but the blasted thing just won't run. It is checked out to my /Users/zdennis/Library/Application Support/TextMate/Bundles/RSpec.tmbundle When it runs I get the below error... "textmate" is not a valid class name /

Re: [rspec-users] Broken edge

2007-11-28 Thread Daniel Tenner
Ok, I've ditched externals and switched to piston... wiped out all the plugins and reinstalled them... And still I'm getting that error. No one else is getting this? Daniel On 28 Nov 2007, at 14:49 28 Nov 2007, David Chelimsky wrote: > On Nov 28, 2007 8:44 AM, Daniel Tenner <[EMAIL PROTECTED

Re: [rspec-users] textmate bundle

2007-11-28 Thread Brian Takita
On Nov 28, 2007 7:43 AM, Zach Dennis <[EMAIL PROTECTED]> wrote: > Does anyone else have issues running rspec textmate bundle? I've got > revision 2997, but the blasted thing just won't run. > > It is checked out to my /Users/zdennis/Library/Application > Support/TextMate/Bundles/RSpec.tmbundle > >

Re: [rspec-users] Broken edge

2007-11-28 Thread Daniel Tenner
Found the culprit. It was RubyAMF. We've emailed them about it. In the meantime, for anyone else who might encounter this problem, changing line 188 of controller_example_group from: super(options, deprecated_status, &block) to: super(options, &block) Makes al

Re: [rspec-users] textmate bundle

2007-11-28 Thread Zach Dennis
On Nov 28, 2007 11:56 AM, Brian Takita <[EMAIL PROTECTED]> wrote: > > Hello Zach. Are you running Rspec 1.0.8 with the Trunk version of the > Textmate Bundle? > > > > It wasn't 1.0.8, but it was a revision from about a month ago, give or take a few days. I've updated to trunk and that problem ha

[rspec-users] Testing cookies

2007-11-28 Thread Olivier Dupuis
Hello, Here's a test I wrote for cookies: it "should change language when params[:id] is present" do cookies[:thothle_language] = 'e' get 'index', :id => 'f' response.cookies["thothle_language"].should equal('f') end The error I get is the following: ...expected "f", got [

Re: [rspec-users] Testing cookies

2007-11-28 Thread David Chelimsky
On Nov 28, 2007 12:52 PM, Olivier Dupuis <[EMAIL PROTECTED]> wrote: > > > > > Hello, > > > > Here's a test I wrote for cookies: > > > > it "should change language when params[:id] is present" do > > cookies[:thothle_language] = 'e' > > get 'index', :id => 'f' > > response.cookies["thothle_lan

Re: [rspec-users] Testing cookies

2007-11-28 Thread Olivier Dupuis
That works! Thanks! Olivier Dupuis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de David Chelimsky Envoyé : Wednesday, November 28, 2007 4:34 PM À : rspec-users Objet : Re: [rspec-users] Testing cookies On Nov 28, 2007 12:52 PM, Olivier Dupuis <[EMAIL

Re: [rspec-users] textmate bundle

2007-11-28 Thread R. Pito Salas
I am having a (probably much more elementary) problem with the bundle. When I try and "run Behavior Description" (shift-ctrl-option R) I get an error from TextMate: /Library/Application Support/TextMate/Bundles/Ruby RSpec.tmbundle/ Support/lib/spec_mate.rb:2:in `require': No such file to load