summaryrefslogtreecommitdiff
path: root/spec/helpers/projects_helper_spec.rb
blob: 0f78725e3d9f1a410075617941555f695b6fcece (plain)
1
2
3
4
5
6
7
8
9
10
11
require 'spec_helper'

describe ProjectsHelper do
  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")
    end
  end
end