summaryrefslogtreecommitdiff
path: root/spec/views
diff options
context:
space:
mode:
authorubudzisz <ubudzisz@gmail.com>2016-07-14 14:51:10 +0200
committerubudzisz <ubudzisz@gmail.com>2016-07-18 12:39:24 +0200
commit7d74f2f00f65f1fd9fc53e631f6640cf6a713d34 (patch)
tree896cd7ba14d3d7ea3bda5a72f28e608964ce4c23 /spec/views
parent679f2ac45552d027159291ef3bb008596268948e (diff)
downloadgitlab-ce-7d74f2f00f65f1fd9fc53e631f6640cf6a713d34.tar.gz
add test to view
repair rubocop test and update CHANGELOG repair rubocop test repair rubocop repair rubocop repair rubocop
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/builds/show.html.haml_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/projects/builds/show.html.haml_spec.rb b/spec/views/projects/builds/show.html.haml_spec.rb
index 61004d0fed7..f7d5d8b020b 100644
--- a/spec/views/projects/builds/show.html.haml_spec.rb
+++ b/spec/views/projects/builds/show.html.haml_spec.rb
@@ -10,6 +10,7 @@ describe 'projects/builds/show' do
before do
assign(:build, build)
assign(:project, project)
+ assign(:commit_title, build.project.commit.title)
allow(view).to receive(:can?).and_return(true)
end