diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-04-01 23:32:16 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-04-01 23:34:33 -0400 |
commit | 6ab8275cd1554e1509e2e9bc996c73c1635446ed (patch) | |
tree | 0c27aeacdb81cc5da60840464fa51f7d44205adc /spec/helpers/icons_helper_spec.rb | |
parent | 16a6ea2d1769f68157976b83bf6da468dd38853d (diff) | |
download | gitlab-ce-6ab8275cd1554e1509e2e9bc996c73c1635446ed.tar.gz |
Check symlink mode as a String for file_type_icon_class
See https://gitlab.com/gitlab-org/gitlab_git/commit/8ae14bb84b94a2ec15f8a639fb82f0f55c77ad69
Diffstat (limited to 'spec/helpers/icons_helper_spec.rb')
-rw-r--r-- | spec/helpers/icons_helper_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/icons_helper_spec.rb b/spec/helpers/icons_helper_spec.rb index 0b1cf07b7b0..c052981fe73 100644 --- a/spec/helpers/icons_helper_spec.rb +++ b/spec/helpers/icons_helper_spec.rb @@ -7,7 +7,7 @@ describe IconsHelper do end it 'returns share class' do - expect(file_type_icon_class('file', 0120000, 'link')).to eq 'share' + expect(file_type_icon_class('file', '120000', 'link')).to eq 'share' end it 'returns file-pdf-o class with .pdf' do |