Skip to content
This repository was archived by the owner on Jan 11, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/microdata/step01.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ test("Model", function() {

test("attr exists", function() {
ok(attr, "attr exists");
ok(typeof(attr) === 'function', "attr is a macro");
ok(Ember.typeOf(attr) === 'function', "attr is a macro");
});

test("store exists", function() {
Expand Down
4 changes: 4 additions & 0 deletions tests/microdata/step02.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,7 @@ test("initializer defined", function() {
test("controllers have access to the store", function() {
ok(lookup('controller:article').get('store') instanceof Store);
});

test("routes have access to the store also", function() {
ok(lookup('route:article').get('store') instanceof Store);
});