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

12 lines
347 B
Ruby
Raw Normal View History

2013-10-08 10:21:40 -04:00
require 'spec_helper'
describe ProjectsHelper do
2014-12-31 08:07:48 -05:00
describe "#project_status_css_class" do
it "returns appropriate class" do
expect(project_status_css_class("started")).to eq("active")
expect(project_status_css_class("failed")).to eq("danger")
expect(project_status_css_class("finished")).to eq("success")
2014-12-31 08:07:48 -05:00
end
end
2013-10-08 10:21:40 -04:00
end