-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4125 from pangratz/more-public-modules
[BUGFIX beta] Export more public API's via modules
- Loading branch information
Showing
6 changed files
with
79 additions
and
3 deletions.
There are no files selected for viewing
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
File renamed without changes.
File renamed without changes.
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
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
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,74 @@ | ||
import { module, test } from 'qunit'; | ||
|
||
import Transform from "ember-data/transform"; | ||
|
||
import Adapter from "ember-data/adapter"; | ||
import JSONAPIAdapter from "ember-data/adapters/json-api"; | ||
import RESTAdapter from "ember-data/adapters/rest"; | ||
|
||
import Store from "ember-data/store"; | ||
|
||
import Model from "ember-data/model"; | ||
import attr from "ember-data/attr"; | ||
import { belongsTo, hasMany } from "ember-data/relationships"; | ||
|
||
import Serializer from "ember-data/serializer"; | ||
import JSONSerializer from "ember-data/serializers/json"; | ||
import JSONAPISerializer from "ember-data/serializers/json-api"; | ||
import RESTSerializer from "ember-data/serializers/rest"; | ||
import EmbeddedRecordsMixin from "ember-data/serializers/embedded-records-mixin"; | ||
|
||
module("unit/modules - public modules"); | ||
|
||
test("ember-data/transform", function(assert) { | ||
assert.ok(Transform); | ||
}); | ||
|
||
test("ember-data/adapter", function(assert) { | ||
assert.ok(Adapter); | ||
}); | ||
|
||
test("ember-data/adapters/json-api", function(assert) { | ||
assert.ok(JSONAPIAdapter); | ||
}); | ||
|
||
test("ember-data/adapters/rest", function(assert) { | ||
assert.ok(RESTAdapter); | ||
}); | ||
|
||
test("ember-data/attr", function(assert) { | ||
assert.ok(attr); | ||
}); | ||
|
||
test("ember-data/relationships", function(assert) { | ||
assert.ok(belongsTo); | ||
assert.ok(hasMany); | ||
}); | ||
|
||
test("ember-data/store", function(assert) { | ||
assert.ok(Store); | ||
}); | ||
|
||
test("ember-data/model", function(assert) { | ||
assert.ok(Model); | ||
}); | ||
|
||
test("ember-data/mixins/embedded-records", function(assert) { | ||
assert.ok(EmbeddedRecordsMixin); | ||
}); | ||
|
||
test("ember-data/serializer", function(assert) { | ||
assert.ok(Serializer); | ||
}); | ||
|
||
test("ember-data/serializers/json-api", function(assert) { | ||
assert.ok(JSONAPISerializer); | ||
}); | ||
|
||
test("ember-data/serializers/json", function(assert) { | ||
assert.ok(JSONSerializer); | ||
}); | ||
|
||
test("ember-data/serializers/rest", function(assert) { | ||
assert.ok(RESTSerializer); | ||
}); |