Skip to content

Commit 739fad9

Browse files
committed
Fix parsePushedDate()
1 parent 846f012 commit 739fad9

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

spec/jquery.github.repo-spec.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe("jquery.github.repo", function() {
77
name: "jquery-github",
88
description: "A jQuery plugin to display your Github Repositories",
99
forks: 33,
10-
pushed_at: "2013-07-02T00:08:36Z",
10+
pushed_at: "2013-07-02T12:08:36Z",
1111
url: "https://api.github.com/repos/zenorocha/jquery-github",
1212
watchers: 131
1313
});
@@ -31,7 +31,7 @@ describe("jquery.github.repo", function() {
3131

3232
it("should be repository's last update date", function() {
3333
expect(instance.pushed_at)
34-
.toEqual("2013-07-02T00:08:36Z");
34+
.toEqual("2013-07-02T12:08:36Z");
3535
});
3636

3737
it("should be repository's api url", function() {
@@ -45,22 +45,21 @@ describe("jquery.github.repo", function() {
4545
});
4646
});
4747

48-
describe("execute _parsePushedDate", function() {
48+
describe("execute _parsePushedDate()", function() {
4949
it("should parse repository's pushed_at attribute", function() {
5050
expect(instance._parsePushedDate(instance.pushed_at))
51-
.toEqual("1/7/2013");
51+
.toEqual("2/7/2013");
5252
});
5353
});
5454

55-
describe("execute _parseURL", function() {
55+
describe("execute _parseURL()", function() {
5656
it("should parse repository's url attribute", function() {
5757
expect(instance._parseURL(instance.url))
5858
.toEqual("https://github.com/zenorocha/jquery-github");
5959
});
6060
});
6161

62-
describe("execute _parseURL", function() {
62+
describe("execute toHTML()", function() {
6363
// TODO
6464
});
65-
6665
});

0 commit comments

Comments
 (0)