Skip to content
Browse files

Adding tests for #2443

  • Loading branch information...
1 parent edef4ae commit 81682efb0437617e0d55dc70dcc331738249260f @arian committed Dec 21, 2012
Showing with 18 additions and 2 deletions.
  1. +9 −0 Specs/1.5client/Element/Element.js
  2. +9 −2 Specs/Configuration.js
View
9 Specs/1.5client/Element/Element.js
@@ -0,0 +1,9 @@
+
+describe('creating new Elements', function(){
+
+ it('should create an element with type="email"', function(){
+ var el = new Element('input', {type: 'email'});
+ expect(el.get('type')).toBe('email');
+ });
+
+});
View
11 Specs/Configuration.js
@@ -34,7 +34,7 @@ Configuration.presets = {
source: ['1.4nocompat']
},
'core-1.5': {
- sets: ['1.2', 'core-1.3-base', 'core-1.3-client', 'core-1.4-base', 'core-1.4-client', 'core-1.5-base'],
+ sets: ['1.2', 'core-1.3-base', 'core-1.3-client', 'core-1.4-base', 'core-1.4-client', 'core-1.5-base', 'core-1.5-client'],
source: ['core-1.4-base', 'core-1.4-client']
},
'core-2.0': {
@@ -128,6 +128,13 @@ Configuration.sets = {
]
},
+ 'core-1.5-client': {
+ path: '1.5client/',
+ files: [
+ 'Element/Element'
+ ]
+ },
+
'core-2.0-base': {
path: '2.0base/',
files: [
@@ -137,7 +144,7 @@ Configuration.sets = {
'Types/Function',
'Types/Number',
'Types/String',
- 'Types/Object',
+ 'Types/Object'
]
},

0 comments on commit 81682ef

Please sign in to comment.
Something went wrong with that request. Please try again.