mirror of https://github.com/vitalif/phantomjs
Unit test: check for phantom.outputEncoding.
parent
7a0bd2a569
commit
ba41180fa1
|
@ -36,6 +36,14 @@ describe("phantom global object", function() {
|
|||
expect(phantom.scriptName.length).toNotEqual(0);
|
||||
});
|
||||
|
||||
it("should have outputEncoding property", function() {
|
||||
expect(phantom.hasOwnProperty('outputEncoding')).toBeTruthy();
|
||||
});
|
||||
|
||||
it("should have the default outputEncoding to System", function() {
|
||||
expect(phantom.outputEncoding).toEqual('System');
|
||||
});
|
||||
|
||||
it("should have version property", function() {
|
||||
expect(phantom.hasOwnProperty('version')).toBeTruthy();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue