testdouble / jasmine-rails

A Jasmine runner for rails projects that's got you covered in both the terminal and the browser
http://rubygems.org/gems/jasmine-rails
MIT License
378 stars 154 forks source link

Using angular 1.3.2 will break jasmine specs #206

Closed lucasklaassen closed 7 years ago

lucasklaassen commented 7 years ago

Received the following error when using angular 1.6.2 and jasmine-rails version 0.14.1

ERROR: TypeError: 'undefined' is not a function (evaluating 'angular.module('ngResource', ['ng']).
  info({ angularVersion: '1.6.3' })')
-> jasmine-specs.js: 71272
-> jasmine-specs.js: 71685

Updating to angular 1.6.3 fixes this issue.

searls commented 7 years ago

Hello -- I really have no idea what's going on here, and jasmine-rails doesn't have a dependency on Angular, so I'm going to thank you for the FYI and close this unless there's some action I need to take.