From c787425266a7c33e460e6c63a06ee206bc222b5b Mon Sep 17 00:00:00 2001 From: Mike King Date: Sat, 20 Feb 2016 17:07:08 -1000 Subject: [PATCH] Cleaning up tests --- test/devtools-spec.js | 4 ++-- test/panel-spec.js | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/devtools-spec.js b/test/devtools-spec.js index 2b1a0d6..7264caa 100644 --- a/test/devtools-spec.js +++ b/test/devtools-spec.js @@ -1,4 +1,4 @@ -describe('DevTools Extension setup test', function (){ +describe('DevTools Extension setup', function (){ var app; beforeAll(function(){ @@ -10,7 +10,7 @@ describe('DevTools Extension setup test', function (){ expect(chrome.devtools).toBeDefined(); }); - it('should load theme CSS file', function(){ + it('should load theme CSS file from storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); }); diff --git a/test/panel-spec.js b/test/panel-spec.js index 83cefec..dc552ab 100644 --- a/test/panel-spec.js +++ b/test/panel-spec.js @@ -1,40 +1,40 @@ -describe('DevTools Author Settings panel spec', function (){ +describe('DevTools Author Settings panel', function (){ var panel; beforeAll(function(){ panel = window.panel; }); - it('should get theme.json via XHR', function(){ + it('should get theme.json via AJAX', function(){ expect(panel).toBeDefined(); }); - it('sets devtools-theme to storage', function(){ + it('should set devtools-theme to storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); }); - it('gets devtools-theme from storage', function(){ + it('should get devtools-theme from storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); }); - it('sets devtools-fontFamily to storage', function(){ + it('should set devtools-fontFamily to storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); }); - it('gets devtools-fontFamily from storage', function(){ + it('should get devtools-fontFamily from storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); }); - it('sets devtools-fontSize to storage', function(){ + it('should set devtools-fontSize to storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); }); - it('gets devtools-fontSize from storage', function(){ + it('should get devtools-fontSize from storage', function(){ expect(app).toBeDefined(); expect(chrome.storage).toBeDefined(); });