Created
July 7, 2012 02:04
-
-
Save jrgm/3063839 to your computer and use it in GitHub Desktop.
fix static_resources test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/tests/static-resource-test.js b/tests/static-resource-test.js | |
index 66a83a9..76307a4 100755 | |
--- a/tests/static-resource-test.js | |
+++ b/tests/static-resource-test.js | |
@@ -23,7 +23,15 @@ suite.addBatch({ | |
var res = resources.resources; | |
assert.ok(files['/production/dialog.css'].length >= 3); | |
// Get ride of non-localized asset bundles | |
- ['/production/communication_iframe.js', '/production/include.js', '/production/dialog.css', '/production/browserid.css', '/production/ie8_main.css', '/production/ie8_dialog.css', '/production/relay.js', '/production/html5shim.js'].forEach( | |
+ ['/production/communication_iframe.js', | |
+ '/production/include.js', | |
+ '/production/dialog.css', | |
+ '/production/browserid.css', | |
+ '/production/ie8_main.css', | |
+ '/production/ie8_dialog.css', | |
+ '/production/relay.js', | |
+ '/production/html5shim.js', | |
+ '/production/authenticate_with_primary.js'].forEach( | |
function (nonLocaleAsset) { | |
delete res[nonLocaleAsset]; | |
delete files[nonLocaleAsset]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment