Skip to content

Commit

Permalink
fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luigiplr committed Jan 15, 2016
1 parent 600d267 commit aedbf73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/scripts/views/config.js
Expand Up @@ -65,7 +65,7 @@ default class ConfigView extends Component {
}

render () {
const buttonClass = 'btn btn-success pull-right' + ((this.state.error || this.state.saving || this.state.saved) ? ' disabled' : null)
const buttonClass = 'btn btn-success pull-right' + ((this.state.error || this.state.saving || this.state.saved) ? ' disabled' : '')
const buttons = (
<div className='controls'>
<button className={buttonClass} onClick={this.save.bind(this)}>
Expand Down
1 change: 1 addition & 0 deletions test/views/config.spec.js
Expand Up @@ -10,6 +10,7 @@ describe('ConfigView', () => {

expect(el).to.contain(
<textarea
ref='config-textarea'
className='panel-inner'
spellCheck='false'
onChange={() => {}}
Expand Down

0 comments on commit aedbf73

Please sign in to comment.