Skip to content

Commit

Permalink
Fix execute flag tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rreusser committed May 18, 2017
1 parent c3577f1 commit 90da8ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/sliders/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ var stepsAttrs = {
},
execute: {
valType: 'boolean',
role: 'info',
dflt: true,
description: [
'When true, the API method is executed. When false, all other behaviors are the same',
Expand Down
1 change: 1 addition & 0 deletions src/components/updatemenus/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ var buttonsAttrs = {
},
execute: {
valType: 'boolean',
role: 'info',
dflt: true,
description: [
'When true, the API method is executed. When false, all other behaviors are the same',
Expand Down
2 changes: 2 additions & 0 deletions test/jasmine/tests/updatemenus_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ describe('update menus defaults', function() {
expect(layoutOut.updatemenus[0].buttons[0]).toEqual({
method: 'relayout',
args: ['title', 'Hello World'],
execute: true,
label: '',
_index: 1
});
Expand All @@ -135,6 +136,7 @@ describe('update menus defaults', function() {
expect(layoutOut.updatemenus[0].buttons[0]).toEqual({
method: 'relayout',
args: ['title', 'Hello World'],
execute: true,
label: '',
_index: 1
});
Expand Down

0 comments on commit 90da8ac

Please sign in to comment.