[rspec-users] Testing route globbing and limitations of get()
David Leal
dgleal at gmail.com
Mon Jul 2 12:31:36 EDT 2007
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 <dchelimsky at gmail.com> wrote:
>
> On 7/2/07, David Leal <dgleal at gmail.com> 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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rspec-users/attachments/20070702/f8f714b0/attachment.html
More information about the rspec-users
mailing list