Skip to content

Commit 86a90af

Browse files
committed
Added place holders for Testing chapter.
1 parent 8617cfd commit 86a90af

File tree

5 files changed

+38
-0
lines changed

5 files changed

+38
-0
lines changed

chapters/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Networking
1616
- Design Patterns
1717
- Databases
18+
- Testing
1819
---
1920

2021
<ol id="chapters">
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: recipe
3+
title: Behavior Testing with Jasmine
4+
chapter: Testing
5+
---
6+
## Problem
7+
8+
You have some CoffeeScript and you want to verify that it is working correctly.
9+

chapters/testing/index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: chapter
3+
title: Testing
4+
chapter: Testing
5+
---
6+
7+
{% capture url %}/chapters/{{ page.chapter | replace: ' ', '_' | downcase }}{% endcapture %}
8+
{% capture indexurl %}{{ url }}/index.html{% endcapture %}
9+
10+
<ul>
11+
{% for page in site.pages %}
12+
{% if page.url contains url %}
13+
{% unless page.url == indexurl %}
14+
<li><a href="{{ page.url | replace: '.html', '' }}">{{ page.title }}</a></li>
15+
{% endunless %}
16+
{% endif %}
17+
{% endfor %}
18+
</ul>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
layout: recipe
3+
title: Unit Testing with QUint
4+
chapter: Testing
5+
---
6+
## Problem
7+
8+
You have some CoffeeScript and you want to verify that it is working correctly.
9+

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
- Networking
1616
- Design Patterns
1717
- Databases
18+
- Testing
1819
---
1920

2021
<h1>Welcome</h1>

0 commit comments

Comments
 (0)