summaryrefslogtreecommitdiff
path: root/spec/javascripts/lib
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2018-11-01 10:34:23 +0000
committerAchilleas Pipinellis <axil@gitlab.com>2018-11-01 10:34:23 +0000
commit7f47e13218477c13cc627c2f0664500b72ea18b7 (patch)
tree077f08ada085795dab3a4ecbcfa0436d67642977 /spec/javascripts/lib
parent1c50200b9aba86d2ba66b81dee7886a51dc38409 (diff)
parent733ae9492129e835f183902a97ee0886e2dbdc9b (diff)
downloadgitlab-ce-7f47e13218477c13cc627c2f0664500b72ea18b7.tar.gz
Merge branch 'gt-update-typos-in-comments-and-specs' into 'master'
Fix typos in comments and specs See merge request gitlab-org/gitlab-ce!22683
Diffstat (limited to 'spec/javascripts/lib')
-rw-r--r--spec/javascripts/lib/utils/datetime_utility_spec.js4
-rw-r--r--spec/javascripts/lib/utils/text_utility_spec.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/javascripts/lib/utils/datetime_utility_spec.js b/spec/javascripts/lib/utils/datetime_utility_spec.js
index de6b96aab57..d699e66b8ca 100644
--- a/spec/javascripts/lib/utils/datetime_utility_spec.js
+++ b/spec/javascripts/lib/utils/datetime_utility_spec.js
@@ -199,11 +199,11 @@ describe('datefix', () => {
expect(datetimeUtility.pad(2)).toEqual('02');
});
- it('should not add a zero when lenght matches the default', () => {
+ it('should not add a zero when length matches the default', () => {
expect(datetimeUtility.pad(12)).toEqual('12');
});
- it('should add a 0 when lenght is smaller than the provided', () => {
+ it('should add a 0 when length is smaller than the provided', () => {
expect(datetimeUtility.pad(12, 3)).toEqual('012');
});
});
diff --git a/spec/javascripts/lib/utils/text_utility_spec.js b/spec/javascripts/lib/utils/text_utility_spec.js
index ac3270baef5..92ebfc38722 100644
--- a/spec/javascripts/lib/utils/text_utility_spec.js
+++ b/spec/javascripts/lib/utils/text_utility_spec.js
@@ -120,7 +120,7 @@ describe('text_utility', () => {
});
describe('getFirstCharacterCapitalized', () => {
- it('returns the first character captialized, if first character is alphabetic', () => {
+ it('returns the first character capitalized, if first character is alphabetic', () => {
expect(textUtils.getFirstCharacterCapitalized('loremIpsumDolar')).toEqual('L');
expect(textUtils.getFirstCharacterCapitalized('Sit amit !')).toEqual('S');
});