Reset settings between tests

This commit is contained in:
Nick O'Leary
2014-10-03 15:05:37 +01:00
parent c223e7f58f
commit 489c552dbe
2 changed files with 12 additions and 1 deletions

View File

@@ -20,6 +20,11 @@ var settings = require("../../red/settings");
describe("red/settings", function() {
afterEach(function() {
settings.reset();
});
it('wraps the user settings as read-only properties', function() {
var userSettings = {
a: 123,