Hi Oleg.
I believe you can put these tests into your functional tests, using the
assert_tag method to test for the presence of these links. But maybe
someone with more experience can correct me.
Cheers,
Dan.
On 4/28/06, Oleg Frolov <leopardus.vulgaris@gmail.com>
wrote:>
> Hello everyone!
>
> Sorry, if it''s stupid question, but I can''t figure out
how to do this.
> I have a set of statements, for example, ''login page should have a
> link to register new user'' and ''login page should have a
link to
> password recovery''. How do I transform it into tests? Where it
should
> go? It does not look like functional tests or integration tests. To
> me, it looks like ''template test''. How do you suggest to
test these
> statements?
>
> Peace.
> --
> olegf
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Dan Venkitachalam
expandingbrain.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060429/d8704fc4/attachment.html