Im new to Ruby and Im trying to come up with the testing quidelines. I need to find the answers for these questions:

How and *why* would you do integration testing for a Rails application?

How to test fixtures, when would you use them and when would you *not* use them?

How would you test the javascript layer in a Rails app?

Gurus, could you please tell me what, where and how I need to test? Im newbie in Ruby and trying to come with concept. What would be you recommendations?

I really appreciate your help.

Thank you!