Skip to content

Commit

Permalink
add test for having saving mode as a default
Browse files Browse the repository at this point in the history
  • Loading branch information
KierepkaE committed Aug 21, 2019
1 parent 8a4f59a commit dae55c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spec/ThermostatSpec.js
Expand Up @@ -32,4 +32,7 @@ describe("Thermostat", function() {
thermostat.up(20);
}).toThrowError("maximum temperature not on saving mode is 32 degrees");
});
it("has an power mode on as a default", () => {
expect(thermostat.savingMode).toBeTruthy();
});
});

0 comments on commit dae55c2

Please sign in to comment.