diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-13 02:41:25 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-14 17:29:18 +0200 |
commit | 16bfd9d31a4e79e68591ba85428384512a93b680 (patch) | |
tree | 6ce8c4b7793cd494213beeea747934e9f702de9b /spec/helpers | |
parent | 7af4f5215e28927830cbc74d383cdfeb9e4ef587 (diff) | |
download | gitlab-ce-16bfd9d31a4e79e68591ba85428384512a93b680.tar.gz |
Fix specs
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/runners_helper_spec.rb | 2 |
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 |