Update describe error message to no longer assume errant args are done
Fixes #896
This commit is contained in:
@@ -31,7 +31,7 @@ describe("Env", function() {
|
||||
it("throws the error", function() {
|
||||
expect(function() {
|
||||
env.describe('done method', spec);
|
||||
}).toThrow(new Error('describe does not expect a done parameter'));
|
||||
}).toThrow(new Error('describe does not expect any arguments'));
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user