Commit e5ff37c1 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Fix rubocop

parent 28ce41c0
...@@ -355,7 +355,7 @@ describe Ci::Commit, models: true do ...@@ -355,7 +355,7 @@ describe Ci::Commit, models: true do
end end
context 'update state' do context 'update state' do
let(:current) { Time.now.change(:usec => 0) } let(:current) { Time.now.change(usec: 0) }
let(:build) { FactoryGirl.create :ci_build, :success, commit: commit, started_at: current - 120, finished_at: current - 60 } let(:build) { FactoryGirl.create :ci_build, :success, commit: commit, started_at: current - 120, finished_at: current - 60 }
before do before do
......
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