modified test code; switch jasmine gem to jasmine-rails gem