How to test tabs through jasmine in a rails application?
In our rails application we have many tabs like Overview tab, Reports tab etc. how to get hold of those tabs开发者_高级运维 through jasmine?
In our Gemfile we have used following gems:-
gem 'rails', '3.0.7'
gem 'rspec'
gem 'rspec-rails'
gem 'jasmine', :group => [:development, :test]
we have also included jasmine_jquery-1.2.0.js inside spec/helpers. It will be great if someone give some code.
精彩评论