diff options
| author | Douwe Maan <douwe@gitlab.com> | 2015-04-02 08:09:02 +0000 |
|---|---|---|
| committer | Douwe Maan <douwe@gitlab.com> | 2015-04-02 08:09:02 +0000 |
| commit | 2a0d38c03fa20979a92597fdff18989c2b8e106b (patch) | |
| tree | 3f067aeabeb3fb4011e1b49055f60fee12533bf2 /spec | |
| parent | 254698d6b8628b5ce57597526d6b34f332c22903 (diff) | |
| parent | 6ab8275cd1554e1509e2e9bc996c73c1635446ed (diff) | |
| download | gitlab-ce-2a0d38c03fa20979a92597fdff18989c2b8e106b.tar.gz | |
Merge branch 'rs-icon-symlink' into 'master'
Check symlink mode as a String for file_type_icon_class
The file mode for a symlink just got changed in `gitlab_git`, see https://gitlab.com/gitlab-org/gitlab_git/commit/8ae14bb84b94a2ec15f8a639fb82f0f55c77ad69
See merge request !487
Diffstat (limited to 'spec')
| -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 |
