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

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

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