Upgrade Ember to 1.1.2
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
module("Discourse.EmailLog");
|
||||
|
||||
test("create", function() {
|
||||
ok(Discourse.EmailLog.create(), "it can be created without arguments");
|
||||
});
|
||||
@@ -0,0 +1,5 @@
|
||||
module("Discourse.Invite");
|
||||
|
||||
test("create", function() {
|
||||
ok(Discourse.Invite.create(), "it can be created without arguments");
|
||||
});
|
||||
@@ -0,0 +1,5 @@
|
||||
module("Discourse.Notification");
|
||||
|
||||
test("create", function() {
|
||||
ok(Discourse.Notification.create(), "it can be created without arguments");
|
||||
});
|
||||
@@ -11,6 +11,10 @@ var buildStream = function(id, stream) {
|
||||
|
||||
var participant = {username: 'eviltrout'};
|
||||
|
||||
test('create', function() {
|
||||
ok(Discourse.PostStream.create(), 'it can be created with no parameters');
|
||||
});
|
||||
|
||||
test('defaults', function() {
|
||||
var postStream = buildStream(1234);
|
||||
blank(postStream.get('posts'), "there are no posts in a stream by default");
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
module("Discourse.Site");
|
||||
|
||||
test('instance', function(){
|
||||
test('create', function() {
|
||||
ok(Discourse.Site.create(), 'it can create with no parameters');
|
||||
});
|
||||
|
||||
test('instance', function() {
|
||||
|
||||
var site = Discourse.Site.current();
|
||||
|
||||
@@ -32,5 +36,4 @@ test('create categories', function() {
|
||||
present(subcategory, "it loaded the subcategory");
|
||||
equal(subcategory.get('parentCategory'), parent, "it has associated the child with the parent");
|
||||
|
||||
|
||||
});
|
||||
@@ -0,0 +1,5 @@
|
||||
module("Discourse.StaffActionLog");
|
||||
|
||||
test("create", function() {
|
||||
ok(Discourse.StaffActionLog.create(), "it can be created without arguments");
|
||||
});
|
||||
Reference in New Issue
Block a user