aboutsummaryrefslogtreecommitdiffstats
path: root/docs/spec/writerSpec.js
diff options
context:
space:
mode:
authorMisko Hevery2011-10-07 11:27:49 -0700
committerIgor Minar2011-10-11 11:01:46 -0700
commitfd822bdaf9d04e522aaa5400b673f333190abe98 (patch)
tree451cd26d3f7da862692d6c56e6e8f235824c180a /docs/spec/writerSpec.js
parent4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff)
downloadangular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2
chore(formating): clean code to be function() {
Diffstat (limited to 'docs/spec/writerSpec.js')
-rw-r--r--docs/spec/writerSpec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/spec/writerSpec.js b/docs/spec/writerSpec.js
index a44e283c..973bb64e 100644
--- a/docs/spec/writerSpec.js
+++ b/docs/spec/writerSpec.js
@@ -1,17 +1,17 @@
var writer = require('writer.js');
-describe('writer', function(){
- describe('toString', function(){
+describe('writer', function() {
+ describe('toString', function() {
var toString = writer.toString;
- it('should merge string', function(){
+ it('should merge string', function() {
expect(toString('abc')).toEqual('abc');
});
- it('should merge obj', function(){
+ it('should merge obj', function() {
expect(toString({a:1})).toEqual('{"a":1}');
});
- it('should merge array', function(){
+ it('should merge array', function() {
expect(toString(['abc',{}])).toEqual('abc{}');
});
});