Sha256: e3041d6a6d14adb6bb7c04163dd4d94486bcacbb6ebebd7fb26293257ae68367
Contents?: true
Size: 573 Bytes
Versions: 5
Compression:
Stored size: 573 Bytes
Contents
describe("Rwiki.TabPanel.PageTab", function() { var tab; var pagePath = './page.txt'; beforeEach(function() { tab = new Rwiki.TabPanel.PageTab(); tab.setPagePath(pagePath); }); describe(":getPagePath method", function() { it("should return '" + pagePath + "'", function() { expect(tab.getPagePath()).toEqual(pagePath); }); }); describe(":setPagePath method", function() { it("should set the page path", function() { tab.setPagePath("./anoter.txt"); expect(tab.getPagePath()).toEqual("./anoter.txt"); }); }); });
Version data entries
5 entries across 5 versions & 1 rubygems