gitlab-org--gitlab-foss/spec/helpers/labels_helper_spec.rb
2014-04-11 19:06:27 +02:00

13 lines
340 B
Ruby

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