diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-04-13 19:47:28 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-04-30 19:21:20 +0300 |
commit | 60ebd101d0fa3ddbfab86a676b81efba589f8393 (patch) | |
tree | ec72a89919f726599f8ceefc4d5d4de0539ab7b1 /spec/views | |
parent | c205973763e9fddd291a65d241002a0769f84106 (diff) |
Use blob viewers for snippets
Diffstat (limited to 'spec/views')
-rw-r--r-- | spec/views/projects/blob/_viewer.html.haml_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/views/projects/blob/_viewer.html.haml_spec.rb b/spec/views/projects/blob/_viewer.html.haml_spec.rb index a4915264abe..501f90c5f9a 100644 --- a/spec/views/projects/blob/_viewer.html.haml_spec.rb +++ b/spec/views/projects/blob/_viewer.html.haml_spec.rb @@ -21,6 +21,7 @@ describe 'projects/blob/_viewer.html.haml', :view do before do assign(:project, project) + assign(:blob, blob) assign(:id, File.join('master', blob.path)) controller.params[:controller] = 'projects/blob' |