Clean up some lint problems in specs

This commit is contained in:
Tom Payne
2012-09-27 12:32:15 +02:00
parent c908e88dce
commit b7def4c8c4
4 changed files with 16 additions and 11 deletions

View File

@@ -10,7 +10,7 @@ describe('ol.Object', function() {
describe('get an unset property', function() {
var v;
beforeEach(function() {
v = o.get('k');
v = o.get('k');
});
it('returns undefined', function() {
@@ -108,7 +108,7 @@ describe('ol.Object', function() {
});
describe('bindTo after set', function() {
it('gets expected value', function() {
o.set('k', 1);
o2.bindTo('k', o);
@@ -118,7 +118,7 @@ describe('ol.Object', function() {
});
describe('bindTo before set', function() {
it('gets expected value', function() {
o2.bindTo('k', o);
o.set('k', 1);
@@ -129,7 +129,7 @@ describe('ol.Object', function() {
describe('backwards', function() {
describe('bindTo after set', function() {
it('gets expected value', function() {
o2.set('k', 1);
o2.bindTo('k', o);
@@ -139,7 +139,7 @@ describe('ol.Object', function() {
});
describe('bindTo before set', function() {
it('gets expected value', function() {
o2.bindTo('k', o);
o2.set('k', 1);