Browse Source

Fix bug in form names for test suites for rgb, rgba and hsl

Emil Rømer Christensen 11 years ago
parent
commit
7525026249

+ 1 - 1
dist/css/bootstrapValidator.min.css

@@ -2,7 +2,7 @@
  * BootstrapValidator (http://bootstrapvalidator.com)
  * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
  *
- * @version     v0.5.2-dev, built on 2014-09-18 10:02:22 PM
+ * @version     v0.5.2-dev, built on 2014-09-18 10:03:43 PM
  * @author      https://twitter.com/nghuuphuoc
  * @copyright   (c) 2013 - 2014 Nguyen Huu Phuoc
  * @license     MIT

+ 1 - 1
dist/js/bootstrapValidator.js

@@ -2,7 +2,7 @@
  * BootstrapValidator (http://bootstrapvalidator.com)
  * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
  *
- * @version     v0.5.2-dev, built on 2014-09-18 10:02:22 PM
+ * @version     v0.5.2-dev, built on 2014-09-18 10:03:43 PM
  * @author      https://twitter.com/nghuuphuoc
  * @copyright   (c) 2013 - 2014 Nguyen Huu Phuoc
  * @license     MIT

+ 1 - 1
dist/js/bootstrapValidator.min.js

@@ -2,7 +2,7 @@
  * BootstrapValidator (http://bootstrapvalidator.com)
  * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3
  *
- * @version     v0.5.2-dev, built on 2014-09-18 10:02:22 PM
+ * @version     v0.5.2-dev, built on 2014-09-18 10:03:43 PM
  * @author      https://twitter.com/nghuuphuoc
  * @copyright   (c) 2013 - 2014 Nguyen Huu Phuoc
  * @license     MIT

+ 0 - 14
test/spec.js

@@ -6127,11 +6127,7 @@ describe('rgbaColor', function() {
     beforeEach(function() {
         var html = [
             '<div class="container">',
-<<<<<<< HEAD
                 '<form class="form-horizontal" id="rgbaColorForm">',
-=======
-                '<form class="form-horizontal" id="rbgColorForm">',
->>>>>>> Add validator and test suite for rgba() color validation
                     '<div class="form-group">',
                         '<input type="text" name="rgba" data-bv-rgbacolor />',
                     '</div>',
@@ -6140,24 +6136,14 @@ describe('rgbaColor', function() {
         ].join('\n');
 
         $(html).appendTo('body');
-<<<<<<< HEAD
         $('#rgbaColorForm').bootstrapValidator();
 
         this.bv          = $('#rgbaColorForm').data('bootstrapValidator');
-=======
-        $('#rbgColorForm').bootstrapValidator();
-
-        this.bv          = $('#rbgColorForm').data('bootstrapValidator');
->>>>>>> Add validator and test suite for rgba() color validation
         this.$rgbaColor = this.bv.getFieldElements('rgba');
     });
 
     afterEach(function() {
-<<<<<<< HEAD
         $('#rgbaColorForm').bootstrapValidator('destroy').parent().remove();
-=======
-        $('#rbgColorForm').bootstrapValidator('destroy').parent().remove();
->>>>>>> Add validator and test suite for rgba() color validation
     });
 
     it('accept rgba()', function() {

+ 0 - 14
test/spec/validator/rgbaColor.js

@@ -3,11 +3,7 @@ describe('rgbaColor', function() {
     beforeEach(function() {
         var html = [
             '<div class="container">',
-<<<<<<< HEAD
                 '<form class="form-horizontal" id="rgbaColorForm">',
-=======
-                '<form class="form-horizontal" id="rbgColorForm">',
->>>>>>> Add validator and test suite for rgba() color validation
                     '<div class="form-group">',
                         '<input type="text" name="rgba" data-bv-rgbacolor />',
                     '</div>',
@@ -16,24 +12,14 @@ describe('rgbaColor', function() {
         ].join('\n');
 
         $(html).appendTo('body');
-<<<<<<< HEAD
         $('#rgbaColorForm').bootstrapValidator();
 
         this.bv          = $('#rgbaColorForm').data('bootstrapValidator');
-=======
-        $('#rbgColorForm').bootstrapValidator();
-
-        this.bv          = $('#rbgColorForm').data('bootstrapValidator');
->>>>>>> Add validator and test suite for rgba() color validation
         this.$rgbaColor = this.bv.getFieldElements('rgba');
     });
 
     afterEach(function() {
-<<<<<<< HEAD
         $('#rgbaColorForm').bootstrapValidator('destroy').parent().remove();
-=======
-        $('#rbgColorForm').bootstrapValidator('destroy').parent().remove();
->>>>>>> Add validator and test suite for rgba() color validation
     });
 
     it('accept rgba()', function() {