Permalink
Browse files

Adding tests for #2443

  • Loading branch information...
1 parent 5c27db9 commit fd0966545778a72e98a7fcb2fc50db4e1ab8a068 @arian committed Dec 21, 2012
Showing with 17 additions and 1 deletion.
  1. +9 −0 Specs/1.5client/Element/Element.js
  2. +8 −1 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
9 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': {
@@ -129,6 +129,13 @@ Configuration.sets = {
]
},
+ 'core-1.5-client': {
+ path: '1.5client/',
+ files: [
+ 'Element/Element'
+ ]
+ },
+
'core-2.0-base': {
path: '2.0base/',
files: [

0 comments on commit fd09665

Please sign in to comment.