Add test for username defaulting to steve

This commit is contained in:
Jake 2015-04-25 09:09:22 -05:00
parent efd9c0ccee
commit 02092aec08

View File

@ -140,6 +140,10 @@ describe("Crafatar", function() {
});
});
});
it("Username should default to Steve", function(done) {
assert.strictEqual(skins.default_skin("TestUser"), "steve");
done();
});
for (var a in alex_ids) {
var alex_id = alex_ids[a];
(function(alex_id) {