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
|
|
|
|
project_status_css_class("started").should == "active"
|
|
|
|
project_status_css_class("failed").should == "danger"
|
|
|
|
project_status_css_class("finished").should == "success"
|
|
|
|
end
|
|
|
|
end
|
2013-10-08 10:21:40 -04:00
|
|
|
end
|