aboutsummaryrefslogtreecommitdiffstats
path: root/test/scenario
diff options
context:
space:
mode:
authorMisko Hevery2011-10-07 11:27:49 -0700
committerIgor Minar2011-10-11 11:01:46 -0700
commitfd822bdaf9d04e522aaa5400b673f333190abe98 (patch)
tree451cd26d3f7da862692d6c56e6e8f235824c180a /test/scenario
parent4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff)
downloadangular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2
chore(formating): clean code to be function() {
Diffstat (limited to 'test/scenario')
-rw-r--r--test/scenario/DescribeSpec.js4
-rw-r--r--test/scenario/dslSpec.js2
-rw-r--r--test/scenario/e2e/widgets-scenario.js2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/scenario/DescribeSpec.js b/test/scenario/DescribeSpec.js
index 173b0807..6741ed6d 100644
--- a/test/scenario/DescribeSpec.js
+++ b/test/scenario/DescribeSpec.js
@@ -26,11 +26,11 @@ describe('angular.scenario.Describe', function() {
});
it('should handle basic nested case', function() {
- root.describe('A', function(){
+ root.describe('A', function() {
this.beforeEach(log.fn('{'));
this.afterEach(log.fn('}'));
this.it('1', log.fn('1'));
- this.describe('B', function(){
+ this.describe('B', function() {
this.beforeEach(log.fn('('));
this.afterEach(log.fn(')'));
this.it('2', log.fn('2'));
diff --git a/test/scenario/dslSpec.js b/test/scenario/dslSpec.js
index 3fc69c14..a6e80901 100644
--- a/test/scenario/dslSpec.js
+++ b/test/scenario/dslSpec.js
@@ -212,7 +212,7 @@ describe("angular.scenario.dsl", function() {
expect(_jQuery('[ng\\:model="test"]').val()).toEqual('A');
});
- it('should select option by name', function(){
+ it('should select option by name', function() {
doc.append(
'<select ng:model="test">' +
' <option value=A>one</option>' +
diff --git a/test/scenario/e2e/widgets-scenario.js b/test/scenario/e2e/widgets-scenario.js
index ca0f8130..fda9b3c6 100644
--- a/test/scenario/e2e/widgets-scenario.js
+++ b/test/scenario/e2e/widgets-scenario.js
@@ -1,7 +1,7 @@
'use strict';
describe('widgets', function() {
- it('should verify that basic widgets work', function(){
+ it('should verify that basic widgets work', function() {
browser().navigateTo('widgets.html');
using('#text-basic-box').input('text.basic').enter('Carlos');