change "value" to "defaultValue"

This commit is contained in:
Keegan
2016-02-12 17:49:12 -08:00
parent e2d7c93cdb
commit d05686a85f
5 changed files with 24 additions and 18 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ describe('component - color', function() {
type: 'color',
sunlight: true,
id: '1',
value: 'ff0000'
defaultValue: 'ff0000'
}
]);
var colorItem = clayConfig.getItemById('1');
@@ -41,7 +41,7 @@ describe('component - color', function() {
type: 'color',
sunlight: false,
id: '1',
value: 'ff0000'
defaultValue: 'ff0000'
}
]);
var colorItem = clayConfig.getItemById('1');
+1 -1
View File
@@ -8,7 +8,7 @@ describe('component - color', function() {
var clayConfig = fixture.clayConfig([
{
type: 'select',
value: 'value-1',
defaultValue: 'value-1',
options: [
{ label: 'label 1', value: 'value-1' },
{ label: 'label 2', value: 'value-2' }