gitlab-org--gitlab-foss/spec/helpers/labels_helper_spec.rb

14 lines
340 B
Ruby
Raw Normal View History

require 'spec_helper'
describe LabelsHelper do
describe '#label_css_class' do
it 'returns label-danger when given Bug as param' do
expect(label_css_class('bug')).to eq('label-danger')
end
it 'returns label-danger when given Bug as param' do
expect(label_css_class('Bug')).to eq('label-danger')
end
end
end