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