summaryrefslogtreecommitdiff
path: root/spec/models/milestone_spec.rb
diff options
context:
space:
mode:
authorGuilherme Garnier <guilherme.garnier@gmail.com>2015-10-03 01:48:54 -0500
committerGuilherme Garnier <guilherme.garnier@gmail.com>2015-10-03 01:48:54 -0500
commit848d7b2a2be28982d0f164d4e3a966c300e7c322 (patch)
tree866d41626402ec497a74441a74731d3836057244 /spec/models/milestone_spec.rb
parent59d0263bc86962737def7d2174e302a312d96574 (diff)
downloadgitlab-ce-848d7b2a2be28982d0f164d4e3a966c300e7c322.tar.gz
Fix rubocop warnings in spec/models
Diffstat (limited to 'spec/models/milestone_spec.rb')
-rw-r--r--spec/models/milestone_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/models/milestone_spec.rb b/spec/models/milestone_spec.rb
index 36352e1ecce..c88d5349663 100644
--- a/spec/models/milestone_spec.rb
+++ b/spec/models/milestone_spec.rb
@@ -111,8 +111,8 @@ describe Milestone do
describe :is_empty? do
before do
- issue = create :closed_issue, milestone: milestone
- merge_request = create :merge_request, milestone: milestone
+ create :closed_issue, milestone: milestone
+ create :merge_request, milestone: milestone
end
it 'Should return total count of issues and merge requests assigned to milestone' do
@@ -125,7 +125,7 @@ describe Milestone do
milestone = create :milestone
create :closed_issue, milestone: milestone
- issue = create :issue
+ create :issue
end
it 'should be true if milestone active and all nested issues closed' do