summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-09 11:04:38 +0000
committerLuke Bennett <lukeeeebennettplus@gmail.com>2018-03-09 11:04:38 +0000
commit35dc722f8071fad7731edd22e62c3c20a3daa9e4 (patch)
treea4ca97050893e36884f41c7d44262472290aa587 /spec/views
parent3308419b5bcf5b3fe8ac52ce72f122e024b4a4ce (diff)
downloadgitlab-ce-35dc722f8071fad7731edd22e62c3c20a3daa9e4.tar.gz
Change unneeded let to set
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/shared/milestones/_top.html.haml.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/views/shared/milestones/_top.html.haml.rb b/spec/views/shared/milestones/_top.html.haml.rb
index 50efe1d5377..516d81c87ac 100644
--- a/spec/views/shared/milestones/_top.html.haml.rb
+++ b/spec/views/shared/milestones/_top.html.haml.rb
@@ -1,7 +1,7 @@
require 'spec_helper'
describe 'shared/milestones/_top.html.haml' do
- let(:group) { create(:group) }
+ set(:group) { create(:group) }
let(:project) { create(:project, group: group) }
let(:milestone) { create(:milestone, project: project) }