Set up tests for existing pod

This commit is contained in:
Matthew Dillon 2015-11-05 10:16:27 -07:00
parent d59aa0e321
commit 35c53fc79b
5 changed files with 89 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<div data-row-span="1">
<div data-field-span="1">
<label>Characteristic Name</label>
{{input value=characteristic.characteristicName}}
{{input value=characteristic.characteristicName class="characteristic-name"}}
</div>
</div>
<div data-row-span="2">
@ -23,7 +23,7 @@
Cancel
</a>
{{#if characteristic.hasDirtyAttributes}}
<button type="submit" class="button-green smaller">
<button type="submit" class="button-green smaller save-characteristic">
Save
</button>
{{/if}}

View file

@ -1,5 +1,5 @@
<h2>{{genus-name}} Characteristics</h2>
<h3>Total characteristics: {{model.length}}</h3>
<h3 id="total-characteristics">Total characteristics: {{model.length}}</h3>
{{add-button label="Add Characteristic" link="protected.characteristics.new" canAdd=metaData.canAdd}}