summaryrefslogtreecommitdiff
path: root/spec/helpers/runners_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/helpers/runners_helper_spec.rb')
-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