Fix specs

This commit is contained in:
Kamil Trzcinski 2015-10-13 02:41:25 +02:00
parent 7af4f5215e
commit 16bfd9d31a

View file

@ -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