Fix a view test by using presenter
This commit is contained in:
parent
4a03032660
commit
06b4ea243f
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ describe 'projects/builds/show', :view do
|
|||
end
|
||||
|
||||
before do
|
||||
assign(:build, build)
|
||||
assign(:build, build.present)
|
||||
assign(:project, project)
|
||||
|
||||
allow(view).to receive(:can?).and_return(true)
|
||||
|
|
Loading…
Reference in a new issue