Welcome to mirror list, hosted at ThFree Co, Russian Federation.

task_list_filter_spec.rb « markdown « gitlab « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cbcfd92956f1ad4fa4020c7bc25a668082d6816f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
require 'spec_helper'

module Gitlab::Markdown
  describe 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
  end
end