Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fbbccf6ef7 | |||
| 7ad75c13d4 |
@@ -2525,6 +2525,6 @@ jasmine.version_= {
|
|||||||
"major": 1,
|
"major": 1,
|
||||||
"minor": 2,
|
"minor": 2,
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"revision": 1333492179,
|
"revision": 1333557965,
|
||||||
"release_candidate": 2
|
"release_candidate": 3
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module Jasmine
|
module Jasmine
|
||||||
module Core
|
module Core
|
||||||
VERSION = "1.2.0.rc2"
|
VERSION = "1.2.0.rc3"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule pages updated: 152d8c760d...43dbf36103
@@ -947,28 +947,28 @@ describe("jasmine.Matchers", function() {
|
|||||||
describe("with Object", function () {
|
describe("with Object", function () {
|
||||||
it("says it's looking for an object", function () {
|
it("says it's looking for an object", function () {
|
||||||
any = jasmine.any(Object);
|
any = jasmine.any(Object);
|
||||||
expect(any.jasmineToString()).toMatch(/<jasmine\.any\(function Object.*\)>/);
|
expect(any.jasmineToString().replace(/\n/g, "")).toMatch(/<jasmine\.any\(function Object.*\)>/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("with Function", function () {
|
describe("with Function", function () {
|
||||||
it("says it's looking for a function", function () {
|
it("says it's looking for a function", function () {
|
||||||
any = jasmine.any(Function);
|
any = jasmine.any(Function);
|
||||||
expect(any.jasmineToString()).toMatch(/<jasmine\.any\(function Function.*\)>/);
|
expect(any.jasmineToString().replace(/\n/g, "")).toMatch(/<jasmine\.any\(function Function.*\)>/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("with String", function () {
|
describe("with String", function () {
|
||||||
it("says it's looking for a string", function () {
|
it("says it's looking for a string", function () {
|
||||||
any = jasmine.any(String);
|
any = jasmine.any(String);
|
||||||
expect(any.jasmineToString()).toMatch(/<jasmine\.any\(function String.*\)>/);
|
expect(any.jasmineToString().replace(/\n/g, "")).toMatch(/<jasmine\.any\(function String.*\)>/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
describe("with Number", function () {
|
describe("with Number", function () {
|
||||||
it("says it's looking for a number", function () {
|
it("says it's looking for a number", function () {
|
||||||
any = jasmine.any(Number);
|
any = jasmine.any(Number);
|
||||||
expect(any.jasmineToString()).toMatch(/<jasmine\.any\(function Number.*\)>/);
|
expect(any.jasmineToString().replace(/\n/g, "")).toMatch(/<jasmine\.any\(function Number.*\)>/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -976,7 +976,7 @@ describe("jasmine.Matchers", function() {
|
|||||||
it("says it's looking for an object", function () {
|
it("says it's looking for an object", function () {
|
||||||
function MyClass () {}
|
function MyClass () {}
|
||||||
any = jasmine.any(MyClass);
|
any = jasmine.any(MyClass);
|
||||||
expect(any.jasmineToString()).toMatch(/<jasmine\.any\(function MyClass.*\)>/);
|
expect(any.jasmineToString().replace("\n", "")).toMatch(/<jasmine\.any\(function MyClass.*\)>/);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
+2
-2
@@ -3,6 +3,6 @@ jasmine.version_= {
|
|||||||
"major": 1,
|
"major": 1,
|
||||||
"minor": 2,
|
"minor": 2,
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"revision": 1333492179,
|
"revision": 1333557965,
|
||||||
"release_candidate": 2
|
"release_candidate": 3
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -2,5 +2,5 @@
|
|||||||
"major": 1,
|
"major": 1,
|
||||||
"minor": 2,
|
"minor": 2,
|
||||||
"build": 0,
|
"build": 0,
|
||||||
"release_candidate": 2
|
"release_candidate": 3
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user