Skip to content

Instantly share code, notes, and snippets.

@aaronj1335
Created December 6, 2013 20:41
Show Gist options
  • Select an option

  • Save aaronj1335/7831741 to your computer and use it in GitHub Desktop.

Select an option

Save aaronj1335/7831741 to your computer and use it in GitHub Desktop.
diff --git a/webapps/msgme3.0/tests/spec/msgme/util/feature-flags.js b/webapps/msgme3.0/tests/spec/msgme/util/feature-flags.js
index fae30fb..ff332bb 100644
--- a/webapps/msgme3.0/tests/spec/msgme/util/feature-flags.js
+++ b/webapps/msgme3.0/tests/spec/msgme/util/feature-flags.js
@@ -24,6 +24,10 @@ define([
done();
}).
fail(function (jqXHR) {
+ if (jqXHR.status !== 404) {
+ throw jqXHR;
+ }
+
expect(jqXHR.status).to.be(404);
done();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment