{"action":"created","issue":{"url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/93","repository_url":"https://api.github.com/repos/switchfly/ember-cli-mocha","labels_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/93/comments","events_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/93/events","html_url":"https://github.com/switchfly/ember-cli-mocha/issues/93","id":122300579,"number":93,"title":"Tests fail to load with latest version of a newly generated addon from ember-cli#master","user":{"login":"cowboyd","id":4205,"avatar_url":"https://avatars.githubusercontent.com/u/4205?v=3","gravatar_id":"","url":"https://api.github.com/users/cowboyd","html_url":"https://github.com/cowboyd","followers_url":"https://api.github.com/users/cowboyd/followers","following_url":"https://api.github.com/users/cowboyd/following{/other_user}","gists_url":"https://api.github.com/users/cowboyd/gists{/gist_id}","starred_url":"https://api.github.com/users/cowboyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cowboyd/subscriptions","organizations_url":"https://api.github.com/users/cowboyd/orgs","repos_url":"https://api.github.com/users/cowboyd/repos","events_url":"https://api.github.com/users/cowboyd/events{/privacy}","received_events_url":"https://api.github.com/users/cowboyd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-15T15:44:25Z","updated_at":"2016-02-03T12:08:15Z","closed_at":null,"body":"Using ember-cli/ember-cli@a2a9a886e1 and trying to create a fresh addon using `ember-cli-mocha`, the tests fail to load.\r\n\r\n```\r\n~/C/Ember ❯❯❯ ember addon try-ember-cli-mocha-with-master\r\nversion: 2.2.0-beta.1-master-a2a9a886e1\r\ninstalling addon\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 tests/dummy/app/app.js\r\n  create tests/dummy/app/components/.gitkeep\r\n  create tests/dummy/app/controllers/.gitkeep\r\n  create tests/dummy/app/helpers/.gitkeep\r\n  create tests/dummy/app/index.html\r\n  create tests/dummy/app/models/.gitkeep\r\n  create tests/dummy/app/router.js\r\n  create tests/dummy/app/routes/.gitkeep\r\n  create tests/dummy/app/styles/app.css\r\n  create tests/dummy/app/templates/application.hbs\r\n  create tests/dummy/app/templates/components/.gitkeep\r\n  create bower.json\r\n  create tests/dummy/config/environment.js\r\n  create ember-cli-build.js\r\n  create .gitignore\r\n  create package.json\r\n  create tests/dummy/public/crossdomain.xml\r\n  create tests/dummy/public/robots.txt\r\n  create testem.json\r\n  create tests/.jshintrc\r\n  create tests/helpers/destroy-app.js\r\n  create tests/helpers/module-for-acceptance.js\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/integration/.gitkeep\r\n  create tests/test-helper.js\r\n  create tests/unit/.gitkeep\r\n  create vendor/.gitkeep\r\n  create LICENSE.md\r\n  create addon/.gitkeep\r\n  create config/ember-try.js\r\n  create config/environment.js\r\n  create app/.gitkeep\r\n  create index.js\r\n  create .npmignore\r\nSuccessfully initialized git.\r\nInstalled packages for tooling via npm.\r\nInstalled browser packages via Bower.\r\n~/C/Ember ❯❯❯ cd try-ember-cli-mocha-with-master\r\n~/C/E/try-ember-cli-mocha-with-master git:master ❯❯❯ ember install ember-cli-mocha\r\nversion: 2.2.0-beta.1\r\nInstalled packages for tooling via npm.\r\ninstalling ember-cli-mocha\r\n[?] Overwrite tests/test-helper.js? Yes, overwrite\r\n  overwrite tests/test-helper.js\r\n  install bower packages ember-mocha, ember-cli-test-loader, ember-cli-shims\r\nInstalling browser packages via Bower...\r\n  cached git://github.com/ember-cli/ember-cli-test-loader.git#0.2.2\r\n  cached git://github.com/ember-cli/ember-cli-shims.git#0.0.6\r\n  cached git://github.com/switchfly/ember-mocha-builds.git#0.8.8\r\n  cached git://github.com/mochajs/mocha.git#2.2.5\r\n  cached git://github.com/teddyzeenny/ember-mocha-adapter.git#0.3.1\r\n  cached git://github.com/chaijs/chai.git#2.3.0\r\n  conflict Unable to find suitable version for ember-cli-test-loader\r\n    1) ember-cli-test-loader 0.2.1\r\n    2) ember-cli-test-loader 0.2.2\r\n[?] Answer: 2!\r\n  resolution Saved ember-cli-test-loader#0.2.2 as resolution\r\nInstalled browser packages via Bower.\r\n  uninstall package ember-cli-qunit\r\nUninstalled packages for tooling via npm.\r\nInstalled addon package.\r\n~/C/E/try-ember-cli-mocha-with-master git:master ❯❯❯ ember t                                                                                                                       \r\nversion: 2.2.0-beta.1\r\nBuilt project successfully. Stored in \"/Users/cowboyd/Code/Ember/try-ember-cli-mocha-with-master/tmp/class-tests_dist-JBVbBaTC.tmp\".\r\n^Cnot ok 1 Error\r\n    ---\r\n        message: >\r\n            Received SIGINT signal\r\n    ...\r\n\r\n1..1\r\n# tests 1\r\n# pass  0\r\n# fail  1\r\n```\r\n\r\nThe test suite actually hangs until it's manually killed. If you run the test server, then testem prints this to the console:\r\n\r\n```\r\nError: Assertion Failed: The tests file was not loaded. Make sure your tests index.html includes \"assets/tests.js\". at http://localhost:7357/assets/vendor.js, line 16498\r\nReferenceError: Can't find variable: describe at http://localhost:7357/assets/test-support.js, line 8561\r\nTypeError: undefined is not an object (evaluating 'Runner.prototype') at http://localhost:7357/testem.js, line 419\r\n```\r\n\r\nThe developer console shows the following error:\r\n\r\n![dummy_tests](https://cloud.githubusercontent.com/assets/4205/11815269/962a2e76-a310-11e5-851e-4771d44c5b2b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/comments/179189688","html_url":"https://github.com/switchfly/ember-cli-mocha/issues/93#issuecomment-179189688","issue_url":"https://api.github.com/repos/switchfly/ember-cli-mocha/issues/93","id":179189688,"user":{"login":"mkempe","id":74870,"avatar_url":"https://avatars.githubusercontent.com/u/74870?v=3","gravatar_id":"","url":"https://api.github.com/users/mkempe","html_url":"https://github.com/mkempe","followers_url":"https://api.github.com/users/mkempe/followers","following_url":"https://api.github.com/users/mkempe/following{/other_user}","gists_url":"https://api.github.com/users/mkempe/gists{/gist_id}","starred_url":"https://api.github.com/users/mkempe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkempe/subscriptions","organizations_url":"https://api.github.com/users/mkempe/orgs","repos_url":"https://api.github.com/users/mkempe/repos","events_url":"https://api.github.com/users/mkempe/events{/privacy}","received_events_url":"https://api.github.com/users/mkempe/received_events","type":"User","site_admin":false},"created_at":"2016-02-03T12:08:14Z","updated_at":"2016-02-03T12:08:14Z","body":"I think we can close this issue, because it was fixed with https://github.com/ember-cli/ember-cli/pull/5274 aka Ember CLI `2.2.0-beta.3` (https://github.com/ember-cli/ember-cli/releases/tag/v2.2.0-beta.3).\r\n\r\n@cowboyd Can you please close this issue? Thanks"}}