Closed childss closed 10 years ago
Debugging output below. Just as a wild guess, I'm thinking there's a race condition. spec_helper.js
calls CodeTestBotApp.setupForTesting();
but it might happen that the application finishes loading before it gets there.
$ bundle exec rake teaspoon
Starting the Teaspoon server...
Teaspoon running default suite at http://127.0.0.1:39495/teaspoon/default
DEBUG: -------------------------------
DEBUG: Ember : 1.6.0-beta.1+canary.79d204b3
DEBUG: Ember Data : 1.0.0-beta.7+canary.07966bca
DEBUG: Handlebars : 1.3.0
DEBUG: jQuery : 1.11.0
DEBUG: -------------------------------
................FError: Assertion Failed: You cannot defer readiness since the `ready()` hook has already been called.
# ember-canary.js:118
# ember-canary.js:42684
# ember-canary.js:44814
# ember-canary.js:42973
# ember-canary.js:43247 -- visit
# ember-canary.js:43301
# ember-canary.js:42974
# ember-canary.js:42855
# ember-canary.js:42947
# ember-canary.js:8176
# ember-canary.js:8264
# ember-canary.js:8579
Error while loading route: Error: Assertion Failed: calling set on destroyed object
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:118
at set (http://127.0.0.1:39495/assets/ember-canary.js?body=1:6433)
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:38215
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:37797
at handlerEnteredOrUpdated (http://127.0.0.1:39495/assets/ember-canary.js?body=1:40923)
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:40892
at forEach (http://127.0.0.1:39495/assets/ember-canary.js?body=1:41941)
at setupContexts (http://127.0.0.1:39495/assets/ember-canary.js?body=1:40893)
at finalizeTransition (http://127.0.0.1:39495/assets/ember-canary.js?body=1:41061)
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:40591
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:40820
at invokeResolver (http://127.0.0.1:39495/assets/ember-canary.js?body=1:10012)
at Promise (http://127.0.0.1:39495/assets/ember-canary.js?body=1:9998)
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:40821
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:40592
at invokeCallback (http://127.0.0.1:39495/assets/ember-canary.js?body=1:10379)
at publish (http://127.0.0.1:39495/assets/ember-canary.js?body=1:10049)
at publishFulfillment (http://127.0.0.1:39495/assets/ember-canary.js?body=1:10469)
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:15843
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:8176
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:8264
at http://127.0.0.1:39495/assets/ember-canary.js?body=1:8579
F
Failures:
1) AuthLoginController login action redirects to the auth_uri from the model
Failure/Error: Error: Assertion Failed: You cannot defer readiness since the `ready()` hook has already been called. (http://127.0.0.1:39495/assets/ember-canary.js?body=1:118)
2) "after each" hook
Failure/Error: Error: Assertion Failed: You tried to append to (undefined) but that isn't in the DOM (http://127.0.0.1:39495/assets/ember-canary.js?body=1:118)
Finished in 0.16900 seconds
18 examples, 2 failures
Failed examples:
teaspoon -s default --filter="AuthLoginController login action redirects to the auth_uri from the model"
teaspoon -s default --filter=" "after each" hook"
Error: Assertion Failed: You tried to append to (undefined) but that isn't in the DOM
# ember-canary.js:118
# ember-canary.js:26579
# ember-canary.js:24967
# ember-canary.js:26640
# ember-canary.js:8174
# ember-canary.js:8264
# ember-canary.js:8579
F
Failures:
1) AuthLoginController login action redirects to the auth_uri from the model
Failure/Error: Error: Assertion Failed: You cannot defer readiness since the `ready()` hook has already been called. (http://127.0.0.1:39495/assets/ember-canary.js?body=1:118)
2) "after each" hook
Failure/Error: Error: Assertion Failed: You tried to append to (undefined) but that isn't in the DOM (http://127.0.0.1:39495/assets/ember-canary.js?body=1:118)
3) "after each" hook
Failure/Error: Error: Element button#login not found.
Finished in 0.18300 seconds
19 examples, 3 failures
Failed examples:
teaspoon -s default --filter="AuthLoginController login action redirects to the auth_uri from the model"
teaspoon -s default --filter=" "after each" hook"
teaspoon -s default --filter=" "after each" hook"
rake teaspoon failed
The command "bundle exec rake teaspoon" exited with 1.
With the merge of #14, we're no longer using Teaspoon so this is now invalid.
(Usually works after restarting the build with no changes)