Permalink
Browse files

Prevent global variable leak

  • Loading branch information...
1 parent 4fb0b6d commit a387836eab93ebc1ca73482a287dde8b5a17988d @avdgaag committed Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/json_data_test.js
View
@@ -11,7 +11,7 @@ describe('JsonData', function() {
});
it('parses data as JSON', function() {
- json_string = '{ "foo": "bar" }';
+ var json_string = '{ "foo": "bar" }';
expect(new JsonData(json_string).toJSON()).to.eql({ 'foo': 'bar' });
});

0 comments on commit a387836

Please sign in to comment.