File tree Expand file tree Collapse file tree 2 files changed +33
-33
lines changed
website/context_producers Expand file tree Collapse file tree 2 files changed +33
-33
lines changed Original file line number Diff line number Diff 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 )
3535end
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments