Skip to content

Commit

Permalink
Merge pull request #2 from scottnath/master
Browse files Browse the repository at this point in the history
points to proper tests
  • Loading branch information
rachelnicole committed Jul 11, 2016
2 parents b1f9b03 + d67b8e0 commit 51e11fb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ module.exports = {
},
},
},
html: '{% for option in checkbox.options %}<label for="{{checkbox.id}}--{{option.index}}"><input type="{{checkbox.type}}" name="{{checkbox.name}}" id="{{checkbox.id}}--{{option.index}}" value="{{option.value}}" {% if option.value == checkbox.value %}checked{% endif %}>{{option.label}}</label>{% endfor %}',
html: '{% for option in checkbox.options %}<label for="{{checkbox.id}}--{{loop.index}}"><input type="{{checkbox.type}}" name="{{checkbox.name}}" id="{{checkbox.id}}--{{loop.index}}" value="{{option.value}}" {% if option.value == checkbox.value %}checked{% endif %}>{{option.label}}</label>{% endfor %}',
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"contributors": [
"Rachel White <whiter@us.ibm.com>"
],
"license": "Apache-2",
"license": "Apache-2.0",
"dependencies": {},
"devDependencies": {
"ava": "^0.14.0",
"coveralls": "^2.11.9",
"eslint": "^2.10.0",
"eslint-config-punchcard": "^1.0.1",
"nyc": "^6.0.0",
"punchcard-content-types": "^0.9.0",
"punchcard-shared-tests": "^1.0.0",
"tap-diff": "^0.1.1",
"validator": "^5.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions tests/plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import test from 'ava';
import contentTypes from 'punchcard-content-types';
import tests from 'punchcard-shared-tests';

import plugin from '../';

contentTypes.pluginTests(test, plugin);
tests.plugins(test, plugin);

0 comments on commit 51e11fb

Please sign in to comment.