diff options
author | Jared Deckard <jared.deckard@gmail.com> | 2016-09-30 17:14:39 -0500 |
---|---|---|
committer | Jared Deckard <jared.deckard@gmail.com> | 2016-09-30 17:14:39 -0500 |
commit | 4a23d7f49150c9292f643b6f1c4fdb3494868de7 (patch) | |
tree | cfb05b228903d186214943b3da48909782f4603c | |
parent | 3808032520953e8f5d98b8cacfe611e22ab1bf28 (diff) | |
download | gitlab-ce-4a23d7f49150c9292f643b6f1c4fdb3494868de7.tar.gz |
Remove the task_list test since it is patched upstream
-rw-r--r-- | spec/lib/banzai/filter/task_list_filter_spec.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/lib/banzai/filter/task_list_filter_spec.rb b/spec/lib/banzai/filter/task_list_filter_spec.rb deleted file mode 100644 index 569cbc885c7..00000000000 --- a/spec/lib/banzai/filter/task_list_filter_spec.rb +++ /dev/null @@ -1,16 +0,0 @@ -require 'spec_helper' - -describe Banzai::Filter::TaskListFilter, lib: true do - include FilterSpecHelper - - it 'does not apply `task-list` class to non-task lists' do - exp = act = %(<ul><li>Item</li></ul>) - expect(filter(act).to_html).to eq exp - end - - it 'applies `task-list` to single-item task lists' do - act = filter('<ul><li>[ ] Task 1</li></ul>') - - expect(act.to_html).to start_with '<ul class="task-list">' - end -end |