Skip to content
Browse files

Merge pull request #25 from ibolmo/fix-2113-webkit-button-type

Added spec for button.set('type', 'button')
  • Loading branch information...
2 parents 4fcb6c3 + da71982 commit be46fb0cde27617300582d85ca33eb161c4ef693 @cpojer cpojer committed Nov 29, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 1.4client/Element/Element.js
View
8 1.4client/Element/Element.js
@@ -29,6 +29,14 @@ describe('Element', function(){
});
+ describe('type', function(){
+
+ it('should set the type of a button', function(){
+ expect(new Element('button', {type: 'button'}).get('type')).toEqual('button');
+ });
+
+ });
+
});
describe('Element.get', function(){

0 comments on commit be46fb0

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