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
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
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
... 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
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
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
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
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
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