busterjs / buster

Abandoned - A powerful suite of automated test tools for JavaScript.
http://docs.busterjs.org
Other
448 stars 37 forks source link

TypeError: Cannot call method 'create' of undefined #361

Closed dorajistyle closed 11 years ago

dorajistyle commented 11 years ago

The error happened when I was trying Testing Ajax section in document below. http://docs.busterjs.org/en/latest/overview/?highlight=fakeserver#testing-ajax

this.server = this.fakeServer.create();

Basic testing works well likes below.

"sum testing": function() { assert.equals(utils.sum(3,1),4); }

augustl commented 11 years ago

What's the context you called this in (i.e. from which function did you call it)?

dkl-ppi commented 11 years ago

That issue is a duplicate of issue #73.