Permalink
Browse files

fixed mock solenoid retract method

  • Loading branch information...
FilipKernan committed Jan 18, 2017
1 parent 5ecf1aa commit d6fec0c0a62c4a436e1f23c688325ccf41d300fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 strongback-testing/src/org/strongback/mock/MockSolenoid.java
@@ -45,7 +45,7 @@ public MockSolenoid extend() {
@Override
public MockSolenoid retract() {
direction = Direction.EXTENDING;
direction = Direction.RETRACTING;
if ( completeImmediately ) direction = Direction.STOPPED;
return this;
}

0 comments on commit d6fec0c

Please sign in to comment.