Working cucumber tests for sails toggle.

When sails in will send a sails out message when sails out will send a sails in message and then checks for the new status of the sail

#story[1111]
This commit is contained in:
Kusal Ekanayake
2017-08-13 14:55:33 +12:00
parent 2411a3cc2c
commit 25c2de63a2
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -585,7 +585,7 @@ public class Yacht {
this.velocity = velocity;
updateVelocityProperty(velocity);
for (YachtLocationListener yll : locationListeners) {
yll.notifyLocation(this, lat, lng, heading, velocity);
yll.notifyLocation(this, lat, lng, heading, velocity, clientSailsIn);
}
}