Skip to content

Commit 4e3c4ad

Browse files
committed
Update tests to use the new resetIntialFormValues method name
1 parent 56ead74 commit 4e3c4ad

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎test/core-test.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ describe('core', function() {
230230

231231
});
232232

233-
describe('#resetIntialFormValues()', function() {
233+
describe('#resetInitialFormValues()', function() {
234234

235235
it('should reset the intial value of an input', function() {
236236

@@ -244,7 +244,7 @@ describe('core', function() {
244244
var isDirty = core.isFormDirty();
245245
assert.strictEqual(isDirty, true);
246246

247-
core.resetIntialFormValues(input);
247+
core.resetInitialFormValues(input);
248248

249249
isDirty = core.isFormDirty();
250250
assert.strictEqual(isDirty, false);
@@ -267,7 +267,7 @@ describe('core', function() {
267267
var isDirty = core.isFormDirty();
268268
assert.strictEqual(isDirty, true);
269269

270-
core.resetIntialFormValues();
270+
core.resetInitialFormValues();
271271

272272
isDirty = core.isFormDirty();
273273
assert.strictEqual(isDirty, false);
@@ -287,7 +287,7 @@ describe('core', function() {
287287
var isDirty = core.isFormDirty();
288288
assert.strictEqual(isDirty, true);
289289

290-
core.resetIntialFormValues(input);
290+
core.resetInitialFormValues(input);
291291

292292
isDirty = core.isFormDirty();
293293
assert.strictEqual(isDirty, false);
@@ -307,7 +307,7 @@ describe('core', function() {
307307
assert.strictEqual(hasInitialValue, true);
308308
assert.strictEqual(hasFileHash, true);
309309

310-
core.resetIntialFormValues(input);
310+
core.resetInitialFormValues(input);
311311

312312
input = document.getElementsByTagName('input')[0]; //Its axtually a new element
313313
hasInitialValue = input.hasAttribute('data-initial-value');

0 commit comments

Comments
 (0)