Skip to content

Commit 79974aa

Browse files
committed
Fix QA warnings
1 parent 9f1bf0c commit 79974aa

File tree

2 files changed

+33
-33
lines changed

2 files changed

+33
-33
lines changed

spec/spec_helper.cr

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ Spec.before_each do
2020
.stub(:get, "https://api.github.com/repos/martenframework/marten/releases")
2121
.to_return(
2222
body: <<-JSON
23-
[
24-
{
25-
"tag_name": "v0.2.3",
26-
"published_at": "2022-10-24T23:44:21Z"
27-
},
28-
{
29-
"tag_name": "v0.2.2",
30-
"published_at": "2022-10-24T23:44:21Z"
31-
}
32-
]
33-
JSON
23+
[
24+
{
25+
"tag_name": "v0.2.3",
26+
"published_at": "2022-10-24T23:44:21Z"
27+
},
28+
{
29+
"tag_name": "v0.2.2",
30+
"published_at": "2022-10-24T23:44:21Z"
31+
}
32+
]
33+
JSON
3434
)
3535
end

spec/website/context_producers/version_context_producer_spec.cr

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@ describe Website::VersionContextProducer do
1111
.stub(:get, "https://api.github.com/repos/martenframework/marten/releases")
1212
.to_return(
1313
body: <<-JSON
14-
[
15-
{
16-
"tag_name": "v0.2.3",
17-
"published_at": "2022-10-24T23:44:21Z"
18-
},
19-
{
20-
"tag_name": "v0.2.2",
21-
"published_at": "2022-10-22T23:44:21Z"
22-
}
23-
]
24-
JSON
14+
[
15+
{
16+
"tag_name": "v0.2.3",
17+
"published_at": "2022-10-24T23:44:21Z"
18+
},
19+
{
20+
"tag_name": "v0.2.2",
21+
"published_at": "2022-10-22T23:44:21Z"
22+
}
23+
]
24+
JSON
2525
)
2626

2727
context_producer = Website::VersionContextProducer.new
@@ -43,17 +43,17 @@ describe Website::VersionContextProducer do
4343
.stub(:get, "https://api.github.com/repos/martenframework/marten/releases")
4444
.to_return(
4545
body: <<-JSON
46-
[
47-
{
48-
"tag_name": "v0.2.0",
49-
"published_at": "2022-10-24T23:44:21Z"
50-
},
51-
{
52-
"tag_name": "v0.1.5",
53-
"published_at": "2022-10-22T23:44:21Z"
54-
}
55-
]
56-
JSON
46+
[
47+
{
48+
"tag_name": "v0.2.0",
49+
"published_at": "2022-10-24T23:44:21Z"
50+
},
51+
{
52+
"tag_name": "v0.1.5",
53+
"published_at": "2022-10-22T23:44:21Z"
54+
}
55+
]
56+
JSON
5757
)
5858

5959
context_producer = Website::VersionContextProducer.new

0 commit comments

Comments
 (0)