diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-06 19:37:07 +0100 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2017-11-06 20:04:24 +0100 |
commit | 7ebf03319881a853405662a390fff13ffb6aefb0 (patch) | |
tree | 05d4526b5bc196dc171811a5bc71adb5a30f2afa /spec/views | |
parent | 70b8f421ae6587d2a57db40e7487bf2dd788cbde (diff) | |
download | gitlab-ce-7ebf03319881a853405662a390fff13ffb6aefb0.tar.gz |
Addresses front & backend comments
- Improves CSS files by reusing existing code
- Changes logic in views to avoid future problems in translations
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/projects/commit/branches.html.haml_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/projects/commit/branches.html.haml_spec.rb b/spec/views/projects/commit/branches.html.haml_spec.rb index 044b73ce419..b9d4dc80fe0 100644 --- a/spec/views/projects/commit/branches.html.haml_spec.rb +++ b/spec/views/projects/commit/branches.html.haml_spec.rb @@ -59,7 +59,7 @@ describe 'projects/commit/branches.html.haml' do before do assign(:branches, ['master']) assign(:branches_limit_exceeded, true) - assign(:tags, ['tag1', 'tag2']) + assign(:tags, %w(tag1 tag2)) assign(:tags_limit_exceeded, false) render |