Skip to content

Instantly share code, notes, and snippets.

@poteto
Created June 28, 2016 13:20
Show Gist options
  • Save poteto/f15fe83d2bde526343823b8b8c3d2216 to your computer and use it in GitHub Desktop.
Save poteto/f15fe83d2bde526343823b8b8c3d2216 to your computer and use it in GitHub Desktop.
// tests/integration/edit-location-test.js
test('it updates location via the form', function(assert) {
registerDummyComponent(this);
this.set('location', {});
this.render(hbs`
{{edit-location
location=location
ui=(hash
location-map=(component "dummy-component")
location-form=(component "edit-location-form")
location-activity=(component "dummy-component"))
}}
`);
assert.ok(/* ... */);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment