Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Możejko committed Sep 12, 2016
1 parent fb521c8 commit 9e1c6ac
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 55 deletions.
2 changes: 1 addition & 1 deletion components/app.tag
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</div>

<div class="thirteen wide column grid">
<resource resource={ resource } each={ resource in api.resources() }></resource>
<resource resource={ resource } each={ resource in api.allResources() }></resource>
</div>

<script>
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"twig": "^0.9.5"
},
"devDependencies": {
"intern": "^3.3.1"
"chai": "^3.5.0",
"mocha": "^3.0.2"
},
"bin": "./bin/raml1-doc.js"
}
23 changes: 23 additions & 0 deletions test/fixtures/helloworld.raml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#%RAML 1.0
title: Hello world # required title

/helloworld: # optional resource
get: # HTTP method declaration
responses: # declare a response
200: # HTTP status code
body: # declare content of response
application/json: # media type
type: | # structural definition of a response (schema or type)
{
"title": "Hello world Response",
"type": "object",
"properties": {
"message": {
"type": "string"
}
}
}
example: | # example how a response looks like
{
"message": "Hello world"
}
53 changes: 0 additions & 53 deletions tests/intern.js

This file was deleted.

0 comments on commit 9e1c6ac

Please sign in to comment.