diff --git a/src/components/stepper/__tests__/stepper-test.js b/src/components/stepper/__tests__/stepper-test.js index 2d0ebd0e..6db3dac0 100644 --- a/src/components/stepper/__tests__/stepper-test.js +++ b/src/components/stepper/__tests__/stepper-test.js @@ -66,7 +66,10 @@ describe('Stepper', function() { }); it('should not call onChange if we can not increment', function() { - //Cameron write test for this + props.value = 3; + var renderOutput = TestUtils.renderIntoDocument(); + renderOutput.increment(); + assert(props.onChange.notCalled); }); }); @@ -80,7 +83,10 @@ describe('Stepper', function() { }); it('should not call onChange if we can not decrement', function() { - //Cameron write test for this + props.value = 1; + var renderOutput = TestUtils.renderIntoDocument(); + renderOutput.decrement(); + assert(props.onChange.notCalled); }); });