Rename j$ to jasmineUnderTest for specs

- Clarifies what it is for when writing tests
- No longer named the same as the `jasmine` that is injected into live
  code
This commit is contained in:
Gregg Van Hove
2015-12-03 17:23:32 -08:00
parent a95c2cfe3f
commit 79206ccff5
60 changed files with 702 additions and 896 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
describe("toBeNull", function() {
it("passes for null", function() {
var matcher = j$.matchers.toBeNull(),
var matcher = jasmineUnderTest.matchers.toBeNull(),
result;
result = matcher.compare(null);
@@ -8,7 +8,7 @@ describe("toBeNull", function() {
});
it("fails for non-null", function() {
var matcher = j$.matchers.toBeNull(),
var matcher = jasmineUnderTest.matchers.toBeNull(),
result;
result = matcher.compare('foo');