Skip to content

Commit 8f056c2

Browse files
committed
renaming test name :P
1 parent 9230e79 commit 8f056c2

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

test/removeHeaderFile.js

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exports.setUp = function (callback) {
1313
callback();
1414
}
1515

16-
exports.addHeaderFile = {
16+
exports.removeHeaderFile = {
1717
'should return a pbxFile': function (test) {
1818
var newFile = proj.addHeaderFile('file.h');
1919

@@ -100,22 +100,6 @@ exports.addHeaderFile = {
100100

101101
test.equal(plugins.children.length, 0);
102102

103-
test.done();
104-
},
105-
'should have the right values for the PBXGroup entry': function (test) {
106-
var newFile = proj.addHeaderFile('Plugins/file.h'),
107-
plugins = proj.pbxGroupByName('Plugins'),
108-
pluginObj = plugins.children[0];
109-
110-
test.equal(pluginObj.comment, 'file.h');
111-
test.equal(pluginObj.value, newFile.fileRef);
112-
113-
var deletedFile = proj.removeHeaderFile('Plugins/file.h'),
114-
plugins = proj.pbxGroupByName('Plugins'),
115-
pluginObj = plugins.children[0];
116-
117-
test.ok(!pluginObj);
118-
119103
test.done();
120104
}
121105
}

0 commit comments

Comments
 (0)