hoodiehq / ember-hoodie

Build awesome offline-first Ember apps with Hoodie!
MIT License
17 stars 6 forks source link

Dummy App #7

Closed gr2m closed 8 years ago

gr2m commented 8 years ago

WORK IN PROGRESS

in preparation for #5

gr2m commented 8 years ago

So it seems to work in general, but no CSS gets loaded, any idea why @courajs

gr2m commented 8 years ago

I’m trying to setup acceptance test, but looks like it cannot connect to Hoodie. Might it be something with the ports? I actually don’t even understand why ember server is starting the Hoodie server? wouldn’t we need to add the logic to server/index.js? Or is ember server requiring the index.js file and running the serverMiddleware?

courajs commented 8 years ago

I think server/index and serverMiddleware are meant mainly for development, not test. Usually ajax calls are mocked out in test with pretender or similar. I haven't looked into how we would get the server running in test yet

courajs commented 8 years ago

No reason off the top of my head the css wouldn't load, I'd have to dig into it.

courajs commented 8 years ago

Closing in favor of #16