I see. It's simple. Sorry that I missed that.

I looked at Mephisto's tests to see how they do it. Turns out you need to
call

get :action, :path => ["all", "path", "components"] # for
/all/path/components

Again, thanks for the help, David.

Cheers,

David

On 7/2/07, David Chelimsky <[EMAIL PROTECTED]> wrote:

On 7/2/07, David Leal <[EMAIL PROTECTED]> wrote:
> Thanks for your answers, David. I'll investigate. It's still a bit hard
for
> me to understand where are the boundaries between rails tests and rspec.

Spec::Rails, RSpec's rails plugin, wraps test/unit, so:

Model Examples work like Rails unit tests
View, Controller and Helper Examples work like Rails functional tests

We don't have a parallel to Rails integration tests.

That help?

_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to