Should I use the Selenium ruby-gem or the Jasmine ruby-gem in order to test view files with RSpec?
I am using Ruby on Rails 3.2.2, cucumber-rails-1.3.0, rspec-rails-2.8.1 and capybara-1.1.2 with the Selenium driver. After receiving the answer to a my [previous question][1] I had a doubt: *should I use the Selenium ruby-gem or the Jasmine ruby-gem in order to test view files with RSpec?* If so, since I am already using Selenium in order to test JavaScript for view files with Cucumber, *why* (when testing with RSpec) should I use Jasmine instead of Selenium? Thai is, why to use two ruby-gems that have the same purpose and make the same things?

Generally and practically speaking, **how do you advice to test view files by using RSpec? ...but, is it the "right way" to test view files with RSpec or should I test those by using Cucumber?**


  [1]: http://stackoverflow.com/questions/9906352/how-and-what-to-test-by-using-respectively-cucumber-and-rspec
Should I use the Selenium ruby-gem or the Jasmine ruby-gem in order to test view files with RSpec?
===

I am using Ruby on Rails 3.2.2, cucumber-rails-1.3.0, rspec-rails-2.8.1 and capybara-1.1.2 with the Selenium driver. After receiving the answer to a my [previous question][1] I had a doubt: *should I use the Selenium ruby-gem or the Jasmine ruby-gem in order to test view files with RSpec?* If so, since I am already using Selenium in order to test JavaScript for view files with Cucumber, *why* (when testing with RSpec) should I use Jasmine instead of Selenium? Thai is, why to use two ruby-gems that have the same purpose and make the same things?

Generally and practically speaking, **how do you advice to test view files by using RSpec? ...but, is it the "right way" to test view files with RSpec or should I test those by using Cucumber?**


  [1]: http://stackoverflow.com/questions/9906352/how-and-what-to-test-by-using-respectively-cucumber-and-rspec