diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 07:45:23 -0400 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-18 07:45:23 -0400 |
commit | e5ff37c1fcd384f417518c8cca6a2a2dcc3c2767 (patch) | |
tree | cfc5d7b765ffd4d0910b6201eaa94b5be15e0013 /spec | |
parent | 28ce41c00ebba5b60c69f75d9bce97c11210779a (diff) | |
download | gitlab-ce-e5ff37c1fcd384f417518c8cca6a2a2dcc3c2767.tar.gz |
Fix rubocop
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/ci/commit_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/ci/commit_spec.rb b/spec/models/ci/commit_spec.rb index c12327c2a77..82c18aaa01a 100644 --- a/spec/models/ci/commit_spec.rb +++ b/spec/models/ci/commit_spec.rb @@ -355,7 +355,7 @@ describe Ci::Commit, models: true do end 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 } before do |