Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

specify stateName value with a dash. #21

Merged
merged 1 commit into from
May 7, 2015

Conversation

et
Copy link
Contributor

@et et commented May 7, 2015

This is how I needed to register the state in order to get a simple test to run.

import { moduleFor, test } from 'ember-qunit';

moduleFor('service:email-edit', 'EmailEditService', {
    needs: ['state:email-edit'],
});

// Replace this with your real tests.
test('it works', function(assert) {
    var service = this.subject();
    assert.ok(service);
});

This is how I needed to register the state in order to get a simple test to run.

```js
import { moduleFor, test } from 'ember-qunit';

moduleFor('service:email-edit', 'EmailEditService', {
	needs: ['state:email-edit'],
});

// Replace this with your real tests.
test('it works', function(assert) {
	var service = this.subject();
	assert.ok(service);
});
```
stefanpenner added a commit that referenced this pull request May 7, 2015
specify stateName value with a dash.
@stefanpenner stefanpenner merged commit 7e3b380 into stefanpenner:master May 7, 2015
@et et deleted the patch-1 branch May 7, 2015 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants