Permalink
Browse files

CB-6012: file.spec.10: Test fullPath rather than name for query param…

…eter preservation
  • Loading branch information...
1 parent 88ab61b commit 63a0b95731040e421dc1d70965a9c88cd0dc9290 @clelland clelland committed Feb 11, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 autotest/tests/file.tests.js
@@ -271,9 +271,8 @@ describe('File API', function() {
expect(fileEntry).toBeDefined();
if (fileEntry.toURL().toLowerCase().substring(0,10) === "cdvfile://") {
expect(fileEntry.name).toBe(fileName + "?1234567890");
- } else {
- expect(fileEntry.name).toBe(fileName);
}
+ expect(fileEntry.name).toBe(fileName);
// cleanup
deleteEntry(fileName);

0 comments on commit 63a0b95

Please sign in to comment.