forked from chrislopresto/ember-freestyle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dan Wenzel
committed
Apr 9, 2018
1 parent
5117107
commit 254bd5d
Showing
2 changed files
with
13 additions
and
40 deletions.
There are no files selected for viewing
40 changes: 0 additions & 40 deletions
40
tests/integration/components/freestyle-dynamic/component-test.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { moduleForComponent, test } from 'ember-qunit'; | ||
|
||
moduleForComponent('freestyle-dynamic', 'Unit | Component | freestyle dynamic', { | ||
unit: true | ||
}); | ||
|
||
test('an assertion is thrown if dynamicProperties is undefined', function(assert) { | ||
assert.expect(1); | ||
|
||
assert.throws(() => { | ||
this.subject({ dynamicProperties: undefined }); | ||
}, /Assertion Failed: dynamicProperties passed into freestyle-dynamic must be an object. {2}You passed: undefined/) | ||
}); |