gitlab-org--gitlab-foss/spec/helpers/projects_helper_spec.rb
2015-01-26 15:59:40 -08:00

11 lines
332 B
Ruby

require 'spec_helper'
describe ProjectsHelper do
describe "#project_status_css_class" do
it "returns appropriate class" do
project_status_css_class("started").should == "active"
project_status_css_class("failed").should == "danger"
project_status_css_class("finished").should == "success"
end
end
end