diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-09-25 11:37:32 +0300 |
---|---|---|
committer | George Tsiolis <tsiolis.g@gmail.com> | 2018-09-25 11:51:07 +0300 |
commit | f6114939126493409eb7f1bab26eda15ec2d2473 (patch) | |
tree | 0d15d941bacd1cec5fa07d645483a308b4ae784b /spec/helpers | |
parent | 3d8ae6a8576dcac0fd3aa0e5b00ef735635fdb07 (diff) |
Fix committer typo
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/commits_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/commits_helper_spec.rb b/spec/helpers/commits_helper_spec.rb index 4b6c7c33e5b..9c0e55739d6 100644 --- a/spec/helpers/commits_helper_spec.rb +++ b/spec/helpers/commits_helper_spec.rb @@ -37,7 +37,7 @@ describe CommitsHelper do .not_to include('onmouseover="alert(1)"') end - it 'escapes the commiter name' do + it 'escapes the committer name' do user = build_stubbed(:user, name: 'Foo <script>alert("XSS")</script>') commit = double(committer: user, committer_name: '', committer_email: '') |