kopia lustrzana https://github.com/c9/core
Fix tabManager tests
rodzic
0767d54dde
commit
363f4412d5
|
@ -247,6 +247,7 @@ require(["lib/architect/architect", "lib/chai/chai"],
|
|||
|
||||
it('should rename a directory - change tab path', function(done) {
|
||||
var vpath = "/dir/stuff.json";
|
||||
fs.rmdir("/dir2", { recursive: true }, function(){
|
||||
tabs.openFile(vpath, function(err, tab) {
|
||||
expect(tab.path).to.equal(vpath);
|
||||
expect(tab.title).to.equal("stuff.json");
|
||||
|
@ -266,6 +267,7 @@ require(["lib/architect/architect", "lib/chai/chai"],
|
|||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("getTabs(), getPanes()", function(){
|
||||
it('should return a list containing all the pages', function(done) {
|
||||
|
|
Ładowanie…
Reference in New Issue