diff --git a/tests/configs/modules/compliments/compliments_anytime.js b/tests/configs/modules/compliments/compliments_anytime.js index 06878f52..1d2818bc 100644 --- a/tests/configs/modules/compliments/compliments_anytime.js +++ b/tests/configs/modules/compliments/compliments_anytime.js @@ -23,9 +23,9 @@ var config = { position: "middle_center", config: { compliments: { - morning: ["Good Morning"], - afternoon: ["Good Afternoon"], - evening: ["Good Evening"], + morning: [], + afternoon: [], + evening: [], anytime: ["Anytime here"] } diff --git a/tests/e2e/modules/compliments_spec.js b/tests/e2e/modules/compliments_spec.js index f2840f9d..d71b07c6 100644 --- a/tests/e2e/modules/compliments_spec.js +++ b/tests/e2e/modules/compliments_spec.js @@ -90,10 +90,10 @@ describe("Compliments module", function () { app.stop().then(function() { done(); }); }); - it("Show anytime or parts of day compliments", function () { + it("Show anytime because if configure empty parts of day compliments and set anytime compliments", function () { return app.client.waitUntilWindowLoaded() .getText(".compliments").then(function (text) { - expect(text).to.be.oneOf(["Good Morning", "Good Evening", "Good Afternoon", "Anytime here"]); + expect(text).to.be.oneOf(["Anytime here"]); }) }); });