             $expiry = $('<input type=text>').formance('formatCreditCardExpiry')
             $expiry.val('1')
 
-            e = $.Event('keypress');
+            e = $.Event('keypress')
             e.which = 47 # '/'
             $expiry.trigger(e)
 

            $expiry = $('<input type=text>').formance('formatCreditCardExpiry')
            $expiry.val('1')

            e = $.Event('keypress');
            e.which = 100 # 'd'
            $expiry.trigger(e)


        it 'should format month shorthand correctly', ->
            $expiry = $('<input type=text>').formance('formatCreditCardExpiry')

            e = $.Event('keypress')
            e.which = 52 # '4'
            $expiry.trigger(e)

