diff options
author | Guilherme Garnier <guilherme.garnier@gmail.com> | 2015-10-03 01:48:54 -0500 |
---|---|---|
committer | Guilherme Garnier <guilherme.garnier@gmail.com> | 2015-10-03 01:48:54 -0500 |
commit | 848d7b2a2be28982d0f164d4e3a966c300e7c322 (patch) | |
tree | 866d41626402ec497a74441a74731d3836057244 /spec/models/project_spec.rb | |
parent | 59d0263bc86962737def7d2174e302a312d96574 (diff) | |
download | gitlab-ce-848d7b2a2be28982d0f164d4e3a966c300e7c322.tar.gz |
Fix rubocop warnings in spec/models
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index fe7bb2cc13f..3df5300fe38 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -140,7 +140,7 @@ describe Project do describe 'last_activity_date' do it 'returns the creation date of the project\'s last event if present' do - last_activity_event = create(:event, project: project) + create(:event, project: project) expect(project.last_activity_at.to_i).to eq(last_event.created_at.to_i) end |