Skip to content

Commit

Permalink
Cleaning up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
micjamking committed Feb 21, 2016
1 parent 7094e4e commit c787425
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions test/devtools-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
describe('DevTools Extension setup test', function (){
describe('DevTools Extension setup', function (){
var app;

beforeAll(function(){
Expand All @@ -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();
});
Expand Down
16 changes: 8 additions & 8 deletions test/panel-spec.js
Original file line number Diff line number Diff line change
@@ -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();
});
Expand Down

0 comments on commit c787425

Please sign in to comment.