diff options
author | Valery Sizov <vsv2711@gmail.com> | 2014-12-31 15:07:48 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-01-10 09:51:43 -0800 |
commit | a9f7fd2c1a7052247333b89f6a22a883b480370d (patch) | |
tree | a7321e528f9ac10f0e8f8f591dca6a4c83f09b9a /spec/helpers | |
parent | d02a22ba21f91d2aa4f9cf716dc3aefcf7e7495e (diff) | |
download | gitlab-ce-a9f7fd2c1a7052247333b89f6a22a883b480370d.tar.gz |
Github Importer
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/projects_helper_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/helpers/projects_helper_spec.rb b/spec/helpers/projects_helper_spec.rb index 114058e3095..2146b0b1383 100644 --- a/spec/helpers/projects_helper_spec.rb +++ b/spec/helpers/projects_helper_spec.rb @@ -20,4 +20,13 @@ describe ProjectsHelper do "<option value=\"gitlab\">GitLab</option>" end end + + 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 |