Re: [rspec-users] Can I get RSpec NOT to abort rake on failing specs?

2008-07-09 Thread David Chelimsky
On Jul 9, 2008, at 5:52 PM, Rick DeNatale wrote: At work we've got a rather complex app with both specs and tests. Our default rake task runs all our our tests and specs. We've also got separate rake tasks to run groups of tests and specs in the various subdirectories. The default task si

Re: [rspec-users] setting request.raw_post with rspec-rails

2008-07-09 Thread David Chelimsky
On Jul 9, 2008, at 5:36 PM, Francis Hwang wrote: ... is there a way to do this? We have some REST-ish POSTs we'd like to spec out. In the controller this gets accessed with request.raw_post.to_s, is there a way to set this with rspec? If you mean you want to set it in an example before the

[rspec-users] Can I get RSpec NOT to abort rake on failing specs?

2008-07-09 Thread Rick DeNatale
At work we've got a rather complex app with both specs and tests. Our default rake task runs all our our tests and specs. We've also got separate rake tasks to run groups of tests and specs in the various subdirectories. The default task simply lists all the individual tasks as pre-reqs. We do a

[rspec-users] setting request.raw_post with rspec-rails

2008-07-09 Thread Francis Hwang
... is there a way to do this? We have some REST-ish POSTs we'd like to spec out. In the controller this gets accessed with request.raw_post.to_s, is there a way to set this with rspec? Thanks as always, Francis ___ rspec-users mailing list rspec-u

Re: [rspec-users] is there a plain format output for stories?

2008-07-09 Thread Jim Morris
David Salgado wrote: I've created a very simple 'basic' formatter, than prints story scenarios as . / P / F for passing, pending and failing scenarios. You can get it here; http://github.com/digitalronin/rspec/tree/master Run it by appending " --format=basic " to the command-line when running

Re: [rspec-users] controller vars for examples

2008-07-09 Thread Zach Dennis
Can you provide more information about what you are spec'ing? Zach On Wed, Jul 9, 2008 at 3:08 PM, Tim Stevens <[EMAIL PROTECTED]> wrote: > Hi, > > How do I override the value of a controller variable in a controller > spec. For ex, if I have an action with an array, I want to have examples > wi

Re: [rspec-users] controller vars for examples

2008-07-09 Thread Matt Darby
On Jul 9, 2008, at 3:08 PM, Tim Stevens wrote: How do I override the value of a controller variable in a controller spec. For ex, if I have an action with an array, I want to have examples with different variables in the array def testing my_array = [1,2,4] end How do I test this with diff

[rspec-users] controller vars for examples

2008-07-09 Thread Tim Stevens
Hi, How do I override the value of a controller variable in a controller spec. For ex, if I have an action with an array, I want to have examples with different variables in the array def testing my_array = [1,2,4] end How do I test this with diff vals for my array? Thanks -- Posted via htt

Re: [rspec-users] is there a plain format output for stories?

2008-07-09 Thread David Salgado
I've created a very simple 'basic' formatter, than prints story scenarios as . / P / F for passing, pending and failing scenarios. You can get it here; http://github.com/digitalronin/rspec/tree/master Run it by appending " --format=basic " to the command-line when running your stories. Hope it's