{"action":"created","issue":{"url":"https://api.github.com/repos/mike-north/ember-cli-materialize/issues/199","labels_url":"https://api.github.com/repos/mike-north/ember-cli-materialize/issues/199/labels{/name}","comments_url":"https://api.github.com/repos/mike-north/ember-cli-materialize/issues/199/comments","events_url":"https://api.github.com/repos/mike-north/ember-cli-materialize/issues/199/events","html_url":"https://github.com/mike-north/ember-cli-materialize/issues/199","id":99263026,"number":199,"title":"Installation of the addon breaks auto-generated tests","user":{"login":"rynam0","id":1716753,"avatar_url":"https://avatars.githubusercontent.com/u/1716753?v=3","gravatar_id":"","url":"https://api.github.com/users/rynam0","html_url":"https://github.com/rynam0","followers_url":"https://api.github.com/users/rynam0/followers","following_url":"https://api.github.com/users/rynam0/following{/other_user}","gists_url":"https://api.github.com/users/rynam0/gists{/gist_id}","starred_url":"https://api.github.com/users/rynam0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynam0/subscriptions","organizations_url":"https://api.github.com/users/rynam0/orgs","repos_url":"https://api.github.com/users/rynam0/repos","events_url":"https://api.github.com/users/rynam0/events{/privacy}","received_events_url":"https://api.github.com/users/rynam0/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T17:59:08Z","updated_at":"2015-08-07T19:16:08Z","closed_at":"2015-08-07T19:16:08Z","body":"Tests covering modules that import ember-data are broken by installing ember-cli-materialize\r\n\r\n```\r\nrconnolly-osx:ember rconnolly$ ember new ecm\r\nversion: 1.13.6\r\ninstalling app\r\n  create .bowerrc\r\n  create .editorconfig\r\n  create .ember-cli\r\n  create .jshintrc\r\n  create .travis.yml\r\n  create .watchmanconfig\r\n  create README.md\r\n  create app/app.js\r\n  create app/components/.gitkeep\r\n  create app/controllers/.gitkeep\r\n  create app/helpers/.gitkeep\r\n  create app/index.html\r\n  create app/models/.gitkeep\r\n  create app/router.js\r\n  create app/routes/.gitkeep\r\n  create app/styles/app.css\r\n  create app/templates/application.hbs\r\n  create app/templates/components/.gitkeep\r\n  create bower.json\r\n  create config/environment.js\r\n  create ember-cli-build.js\r\n  create .gitignore\r\n  create package.json\r\n  create public/crossdomain.xml\r\n  create public/robots.txt\r\n  create testem.json\r\n  create tests/.jshintrc\r\n  create tests/helpers/resolver.js\r\n  create tests/helpers/start-app.js\r\n  create tests/index.html\r\n  create tests/test-helper.js\r\n  create tests/unit/.gitkeep\r\n  create vendor/.gitkeep\r\nInstalled packages for tooling via npm.\r\nInstalled browser packages via Bower.\r\nSuccessfully initialized git.\r\nrconnolly-osx:ember rconnolly$ cd ecm/\r\nrconnolly-osx:ecm rconnolly$ ember g model foo name:string\r\nversion: 1.13.6\r\ninstalling model\r\n  create app/models/foo.js\r\ninstalling model-test\r\n  create tests/unit/models/foo-test.js\r\nrconnolly-osx:ecm rconnolly$ npm test\r\n\r\n> ecm@0.0.0 test /Users/rconnolly/Development/temp/ember/ecm\r\n> ember test\r\n\r\nversion: 1.13.6\r\nBuilt project successfully. Stored in \"/Users/rconnolly/Development/temp/ember/ecm/tmp/class-tests_dist-LrXHB077.tmp\".\r\nok 1 PhantomJS 1.9 - JSHint - .: app.js should pass jshint\r\nok 2 PhantomJS 1.9 - JSHint - helpers: helpers/resolver.js should pass jshint\r\nok 3 PhantomJS 1.9 - JSHint - helpers: helpers/start-app.js should pass jshint\r\nok 4 PhantomJS 1.9 - JSHint - models: models/foo.js should pass jshint\r\nok 5 PhantomJS 1.9 - JSHint - .: router.js should pass jshint\r\nok 6 PhantomJS 1.9 - JSHint - .: test-helper.js should pass jshint\r\nok 7 PhantomJS 1.9 - Unit | Model | foo: it exists\r\nok 8 PhantomJS 1.9 - JSHint - unit/models: unit/models/foo-test.js should pass jshint\r\n\r\n1..8\r\n# tests 8\r\n# pass  8\r\n# fail  0\r\n\r\n# ok\r\nrconnolly-osx:ecm rconnolly$ ember install ember-cli-materialize\r\nversion: 1.13.6\r\nInstalled packages for tooling via npm.\r\ninstalling ember-cli-materialize\r\nInstalling browser packages via Bower...\r\n  cached git://github.com/Dogfalo/materialize.git#0.97.0\r\n  cached git://github.com/jquery/jquery.git#2.1.4\r\n  cached git://github.com/jquery/jquery.git#2.1.4\r\n  conflict Unable to find suitable version for jquery\r\n    1) jquery ^1.11.1\r\n    2) jquery >=2.1.1\r\n    3) jquery >= 1.7.0 < 2.2.0\r\n[?] Answer: 1!\r\n  resolution Saved jquery#^1.11.1 as resolution\r\nInstalled browser packages via Bower.\r\n[?] Overwrite app/templates/application.hbs? Yes, overwrite\r\n[?] Overwrite config/environment.js? Yes, overwrite\r\n  create app/styles/app.scss\r\n  overwrite app/templates/application.hbs\r\n  overwrite config/environment.js\r\n  install package ember-composability\r\nInstalling packages for tooling via npm...\r\n  install package ember-radio-button\r\nInstalling packages for tooling via npm...\r\n  install package ember-new-computed\r\nInstalling packages for tooling via npm...\r\n  install package ember-key-responder\r\nInstalling packages for tooling via npm...\r\n  install package ember-modal-dialog\r\nInstalling packages for tooling via npm...\r\n  install package ember-cli-sass\r\nInstalled packages for tooling via npm.\r\nember-radio-button@1.0.4 node_modules/ember-radio-button\r\nInstalled packages for tooling via npm.\r\nInstalled packages for tooling via npm.\r\nInstalled packages for tooling via npm.\r\nInstalled packages for tooling via npm.\r\n`darwin-x64-node-0.12` exists; testing\r\nBinary is fine; exiting\r\nInstalled packages for tooling via npm.\r\nInstalled addon package.\r\nrconnolly-osx:ecm rconnolly$ npm test\r\n\r\n> ecm@0.0.0 test /Users/rconnolly/Development/temp/ember/ecm\r\n> ember test\r\n\r\nversion: 1.13.6\r\nBuildingDeprecation warning: sassOptions should be moved to your Brocfile\r\nBuilding.DEPRECATION: Using `{{view}}` or any path based on it ('modules/ember-cli-materialize/templates/components/md-collection.hbs' @ L2:C2) has been deprecated. [deprecation id: view.keyword.view] See http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords for more details.\r\n        at deprecatePath (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11280:32)\r\n        at /Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11248:7\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17985:7)\r\n        at visitors.Program (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17995:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at visitors.BlockStatement (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18006:14)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\nDEPRECATION: Using `{{view}}` or any path based on it ('modules/ember-cli-materialize/templates/components/md-select.hbs' @ L2:C0) has been deprecated. [deprecation id: view.keyword.view] See http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords for more details.\r\n        at deprecatePath (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11280:32)\r\n        at /Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11248:7\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17985:7)\r\n        at visitors.Program (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17995:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at DeprecateViewAndControllerPaths_transform [as transform] (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11243:12)\r\n        at Object.preprocess (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17384:27)\r\n        at compileSpec (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:12539:37)\r\nDEPRECATION: Using `{{view \"select\"}}` is deprecated. ('modules/ember-cli-materialize/templates/components/md-select.hbs' @ L2:C0)  [deprecation id: view.helper.select] See http://emberjs.com/deprecations/v1.x#toc_ember-select for more details.\r\n        at deprecateSelect (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11344:32)\r\n        at deprecateHelper (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11337:7)\r\n        at /Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11325:7\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17985:7)\r\n        at visitors.Program (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17995:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at DeprecateViewHelper_transform [as transform] (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11320:12)\r\n        at Object.preprocess (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17384:27)\r\nDEPRECATION: Using `{{view}}` or any path based on it ('modules/ember-cli-materialize/templates/components/md-table.hbs' @ L4:C6) has been deprecated. [deprecation id: view.keyword.view] See http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords for more details.\r\n        at deprecatePath (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11280:32)\r\n        at /Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11248:7\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17985:7)\r\n        at visitors.Program (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17995:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at visitors.BlockStatement (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18006:14)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\nDEPRECATION: Using `{{view}}` or any path based on it ('modules/ember-cli-materialize/templates/components/selectable-item-group.hbs' @ L3:C5) has been deprecated. [deprecation id: view.keyword.view] See http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords for more details.\r\n        at deprecatePath (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11280:32)\r\n        at /Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11248:7\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17985:7)\r\n        at visitors.ElementNode (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18001:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at visitors.Program (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17995:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at visitors.BlockStatement (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18006:14)\r\nDEPRECATION: Using `{{view}}` or any path based on it ('modules/ember-cli-materialize/templates/default-column-header.hbs' @ L1:C0) has been deprecated. [deprecation id: view.keyword.view] See http://emberjs.com/deprecations/v1.x#toc_view-and-controller-template-keywords for more details.\r\n        at deprecatePath (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11280:32)\r\n        at /Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11248:7\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17985:7)\r\n        at visitors.Program (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17995:16)\r\n        at Walker.children (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:18018:7)\r\n        at Walker.visit (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17986:12)\r\n        at DeprecateViewAndControllerPaths_transform [as transform] (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:11243:12)\r\n        at Object.preprocess (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:17384:27)\r\n        at compileSpec (/Users/rconnolly/Development/temp/ember/ecm/bower_components/ember/ember-template-compiler.js:12539:37)\r\nBuilt project successfully. Stored in \"/Users/rconnolly/Development/temp/ember/ecm/tmp/class-tests_dist-sgorAVZU.tmp\".\r\nok 1 PhantomJS 1.9 - JSHint - .: app.js should pass jshint\r\nok 2 PhantomJS 1.9 - JSHint - helpers: helpers/resolver.js should pass jshint\r\nok 3 PhantomJS 1.9 - JSHint - helpers: helpers/start-app.js should pass jshint\r\nok 4 PhantomJS 1.9 - JSHint - models: models/foo.js should pass jshint\r\nok 5 PhantomJS 1.9 - JSHint - .: router.js should pass jshint\r\nok 6 PhantomJS 1.9 - JSHint - .: test-helper.js should pass jshint\r\nnot ok 7 PhantomJS 1.9 - Unit | Model | foo: it exists\r\n    ---\r\n        actual: >\r\n            null\r\n        message: >\r\n            ReferenceError: Can't find variable: DS\r\n        Log: |\r\n    ...\r\nok 8 PhantomJS 1.9 - JSHint - unit/models: unit/models/foo-test.js should pass jshint\r\n\r\n1..8\r\n# tests 8\r\n# pass  7\r\n# fail  1\r\nnpm ERR! Test failed.  See above for more details.\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/mike-north/ember-cli-materialize/issues/comments/128798884","html_url":"https://github.com/mike-north/ember-cli-materialize/issues/199#issuecomment-128798884","issue_url":"https://api.github.com/repos/mike-north/ember-cli-materialize/issues/199","id":128798884,"user":{"login":"rynam0","id":1716753,"avatar_url":"https://avatars.githubusercontent.com/u/1716753?v=3","gravatar_id":"","url":"https://api.github.com/users/rynam0","html_url":"https://github.com/rynam0","followers_url":"https://api.github.com/users/rynam0/followers","following_url":"https://api.github.com/users/rynam0/following{/other_user}","gists_url":"https://api.github.com/users/rynam0/gists{/gist_id}","starred_url":"https://api.github.com/users/rynam0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynam0/subscriptions","organizations_url":"https://api.github.com/users/rynam0/orgs","repos_url":"https://api.github.com/users/rynam0/repos","events_url":"https://api.github.com/users/rynam0/events{/privacy}","received_events_url":"https://api.github.com/users/rynam0/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T19:16:08Z","updated_at":"2015-08-07T19:16:08Z","body":"Looks like phantomjs2 is required when running tests with ember-cli-materialize now.\r\nnpm install phantomjs2 resolved this for me."}}