Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-29 17:26:40 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-09-29 17:26:40 +0300
commit3d9a7cdb4be6d6d059dfd7ccc8fa2e4bd3ab12e3 (patch)
treefbc4fb4a8ae361436e92c794c01ebab2c83c4e18 /spec/helpers/ci/runners_helper_spec.rb
parent87240e989ba913bad787d8bc81da1a9b87f1da53 (diff)
Refactor CI helpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/helpers/ci/runners_helper_spec.rb')
-rw-r--r--spec/helpers/ci/runners_helper_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/helpers/ci/runners_helper_spec.rb b/spec/helpers/ci/runners_helper_spec.rb
deleted file mode 100644
index 6d0e2d3d1e1..00000000000
--- a/spec/helpers/ci/runners_helper_spec.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require 'spec_helper'
-
-describe Ci::RunnersHelper do
- it "returns - not contacted yet" do
- runner = FactoryGirl.build :ci_runner
- expect(runner_status_icon(runner)).to include("not connected yet")
- end
-
- it "returns offline text" do
- runner = FactoryGirl.build(:ci_runner, contacted_at: 1.day.ago, active: true)
- expect(runner_status_icon(runner)).to include("Runner is offline")
- end
-
- it "returns online text" do
- runner = FactoryGirl.build(:ci_runner, contacted_at: 1.hour.ago, active: true)
- expect(runner_status_icon(runner)).to include("Runner is online")
- end
-end