Skip to content

Commit

Permalink
Capitalize new income on dashboard index
Browse files Browse the repository at this point in the history
  • Loading branch information
neb417 committed Jan 14, 2024
1 parent 239ec76 commit acd084f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/dashboard/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<div class="mx-auto py-6 sm:px-6 lg:px-8">
<%= turbo_frame_tag "income_header_frame" do %>
<h1>Income</h1>
<%= link_to "new income", new_income_path, data: { turbo_frame: :incomes }, class: "btn btn-primary" %>
<%= link_to "New Income", new_income_path, data: { turbo_frame: :incomes }, class: "btn btn-primary" %>
<% end %>

<div class="pt-4">
Expand Down
3 changes: 0 additions & 3 deletions spec/features/dashboard/dashboard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
end

it "has fixed expenses on the dashboard" do
# create(:income, :with_all_types)
# create(:federal_tax_bracket, :with_all_tiers)
# fixed_expenses = create_list(:fixed_expense, 2)
fixed1 = fixed_expenses.first
fixed2 = fixed_expenses.last

Expand Down

0 comments on commit acd084f

Please sign in to comment.