Commit 16bfd9d3 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix specs

parent 7af4f521
...@@ -12,7 +12,7 @@ describe RunnersHelper do ...@@ -12,7 +12,7 @@ describe RunnersHelper do
end end
it "returns online text" do 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") expect(runner_status_icon(runner)).to include("Runner is online")
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment