Add frontend assets and plugin bundles
Add the legacy frontend themes, scripts, and plugin assets required by the main SPOTA interfaces.
This commit is contained in:
16
assets/plugins/jquery.maskedinput/spec/Paste.Spec.js
Normal file
16
assets/plugins/jquery.maskedinput/spec/Paste.Spec.js
Normal file
@@ -0,0 +1,16 @@
|
||||
feature("Pasting", function() {
|
||||
scenario('When pasting a value',function(){
|
||||
var completed=false;
|
||||
given("an input with a completed callback", function(){
|
||||
input.mask("99",{completed:function(){completed=true;}});
|
||||
});
|
||||
|
||||
when("pasting",function(){
|
||||
input.val("99").trigger("paste").trigger("input");
|
||||
});
|
||||
waits(1);
|
||||
then("completed callback should be called",function(){
|
||||
expect(completed).toBeTruthy();
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user