We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fecc0e7 commit 7413f46Copy full SHA for 7413f46
spec/Setup.Spec.js
@@ -1,8 +1,7 @@
1
-feature("Masking an Input", function() {
+feature("Masking an Input", function() {
2
scenario('Applying a mask to an already masked input',function(){
3
- var input;
4
given("an input with two masks", function(){
5
- input=$("<input />")
+ input
6
.mask("9")
7
.mask("99");
8
});
spec/SpecRunner.html
@@ -27,6 +27,10 @@
27
importGrammar(jasmine.grammar.FeatureStory);
28
importGrammar(jasmine.grammar.GWT);
29
30
+ var input;
31
+ beforeEach(function(){ input = $("<input />").appendTo("body").focus(); });
32
+ afterEach(function(){ input.remove();});
33
+
34
</script>
35
36
<!-- include source files here... -->
0 commit comments