Skip to content

Commit

Permalink
Fix typos related to investment previews
Browse files Browse the repository at this point in the history
  • Loading branch information
javierm committed Nov 6, 2019
1 parent a9d7556 commit 39b8b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/budgets/investments/_investment_show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<div class="small-12 medium-9 column">
<%= back_link_to budget_investments_path(investment.budget, heading_id: investment.heading) %>
<%= render "/budgets/investments/investment_detail", investment: investment %>
<%= render "investment_detail", investment: investment %>
</div>

<aside class="small-12 medium-3 column">
Expand Down
2 changes: 1 addition & 1 deletion spec/features/admin/budget_investments_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@
expect(page).to have_content("Ana ([email protected])")
end

scenario "Not show related content or hide links on preview" do
scenario "Does not show related content or hide links on preview" do
budget_investment = create(:budget_investment,
:unfeasible,
price: 1234,
Expand Down

0 comments on commit 39b8b80

Please sign in to comment.