Skip to content

Commit

Permalink
removes unnecessary tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Trone authored and Paul Trone committed Jan 7, 2014
1 parent 52bd4af commit 88f1a29
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions test/retina.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,4 @@ describe('Retina', function() {
}
});

describe('init', function(){
it('stashes the existing onload and executes it later', function(){
var existingOnloadExecutions = 0;
var window = {
matchMedia : function() {
return { matches: false }
},
onload : function() {
existingOnloadExecutions++;
}
};
Retina.init(window);
window.onload();
existingOnloadExecutions.should.equal(1);
});
});

});

0 comments on commit 88f1a29

Please sign in to comment.