Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgoll committed May 28, 2024
1 parent ee41044 commit fdaf044
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
bin/rails db:create
bin/rails db:schema:load
bin/rails test
bin/rails test:system
bin/rails db:seed
- name: Keep screenshots from failed system tests
Expand Down
2 changes: 1 addition & 1 deletion app/views/transactions/_empty.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="flex flex-col items-center justify-center py-40">
<p class="text-gray-500 mb-2"><%= t(".title") %></p>
<p class="text-gray-400 max-w-xs text-center"><%= t(".description") %></p>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/transactions/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
<% end %>
</div>
</div>
</header>
</header>
2 changes: 1 addition & 1 deletion app/views/transactions/_name.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
transaction_path(transaction),
class: "text-gray-900 hover:underline hover:text-gray-800 truncate" %>
<% end %>
<% end %>
<% end %>
2 changes: 1 addition & 1 deletion app/views/transactions/_pagination.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
</div>
<% end %>
</div>
</nav>
</nav>
6 changes: 3 additions & 3 deletions config/locales/views/transactions/en.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---
en:
transactions:
empty:
title: No transactions found
description: Try adding a transaction, editing filters or refining your search
categories:
create:
success: New transaction category created successfully
Expand Down Expand Up @@ -49,6 +46,9 @@ en:
success: New transaction created successfully
destroy:
success: Transaction deleted successfully
empty:
description: Try adding a transaction, editing filters or refining your search
title: No transactions found
form:
account: Account
account_prompt: Select an Account
Expand Down

0 comments on commit fdaf044

Please sign in to comment.