Permalink
Browse files

Fix gradient test

  • Loading branch information...
jonastreub committed Jun 29, 2017
1 parent dee606e commit 635adc993bd55ea7e655e74c3aec8b08cbd0673b
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/tests/GradientTest.coffee
@@ -42,11 +42,11 @@ describe "Linear Gradient", ->
mixed.angle.should.equal 45
mixed.start.isEqual(Color.mix(colorA, colorB)).should.be.true
it "should take the shortest route when animating to a new angle", ->
it "should not take the shortest route when animating to a new angle", ->
gradientA = new Gradient
angle: 0
gradientB = new Gradient
angle: 405
mixed = Gradient.mix(gradientA, gradientB, 1)
mixed.angle.should.equal 45
mixed.angle.should.equal 405

0 comments on commit 635adc9

Please sign in to comment.