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:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-13 03:41:25 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-14 18:29:18 +0300
commit16bfd9d31a4e79e68591ba85428384512a93b680 (patch)
tree6ce8c4b7793cd494213beeea747934e9f702de9b /spec/helpers
parent7af4f5215e28927830cbc74d383cdfeb9e4ef587 (diff)
Fix specs
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/runners_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/runners_helper_spec.rb b/spec/helpers/runners_helper_spec.rb
index b3d635a1932..35f91b7decf 100644
--- a/spec/helpers/runners_helper_spec.rb
+++ b/spec/helpers/runners_helper_spec.rb
@@ -12,7 +12,7 @@ describe RunnersHelper do
end
it "returns online text" do
- runner = FactoryGirl.build(:ci_runner, contacted_at: 1.hour.ago, active: true)
+ runner = FactoryGirl.build(:ci_runner, contacted_at: 1.second.ago, active: true)
expect(runner_status_icon(runner)).to include("Runner is online")
end
end