emberjs/ember-dev — pull request #67 by rjackson (2013-09-29 02:47:11+00:00)
Title: Make static test site.

Running the following from the ember repo should result in a static file to
run the test suite on (make sure to run `rake dist` first):

```ruby require 'bundler/setup' require 'ember-dev'

generator = EmberDev::TestSiteGenerator.new(static: true)
generator.save('dist')
```

This is an initial step in getting Sauce Labs integration working. Once
we have a static site for our tests, we can use Sauce Lab's REST API to
manage jobs.

Using this static site results in only a single test failure.

[This test](https://github.com/emberjs/ember.js/blob/master/packages/ember/tests/routing/basic_test.js#L1876-1907) is failing with the following errors:

```
Basic Routing: HistoryLocation has the correct rootURL on initState and webkit doesn't fire popstate on page load (2, 2, 4)

Assertion failed: The URL '/Users/rjackson/Dropbox/Source/javascript/ember.js/dist/index.html' did not match any routes in your application
Source:
at Object.Ember.assert (file:///Users/rjackson/Dropbox/Source/javascript/ember.js/dist/index.html:4882:7)
at eval (ember-routing/system/router:258:15)
at invokeCallback (rsvp:433:19)
at eval (rsvp:487:11)
at EventTarget.trigger (rsvp:256:22)
at eval (rsvp:558:17)
at Object.DeferredActionQueues.flush (ember-metal/vendor/backburner:178:24)
at Object.Backburner.end (ember-metal/vendor/backburner:264:27)
```

This error is fixed by https://github.com/emberjs/ember.js/pull/3491, I
am unclear if that is the correct approach to fix the issue properly.