Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit 6b2f9bd

Browse files
committed
645: Gems and dockerfile updates test fixes
1 parent 8317280 commit 6b2f9bd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

app/views/new_admin/users/_punches.html.erb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,12 @@
8888
</p>
8989
<% end %>
9090
</div>
91-
91+
9292
<div class="flex-auto w-20">
93-
<div class="px-2 py-2 w-fit h-40 max-w-sm dark:bg-gray-800 rounded">
93+
<div class="px-2 py-2 w-fit h-40 max-w-sm dark:bg-gray-800 rounded">
9494
<h3 class="mb-2 text-sm text-gray-600 dark:text-gray-400 font-semibold">
9595
<%= t ('punches_filter.filter') %>
96-
</h3>
96+
</h3>
9797
<%= form_with url: new_admin_admin_user_path(@user, anchor: "user_punches"), method: :get do |form| %>
9898
<h4 class="mb-2 text-xs font-semibold tracking-wide text-left text-gray-500 uppercase" >
9999
<%= t ('punches_filter.range') %>
@@ -103,13 +103,13 @@
103103
to = params.dig(:punch, :to)
104104
%>
105105
<div class="input_container mb-4">
106-
<%= form.date_field :from, value: :from, class: "mr-2 bg-gray-100 font-semibold rounded-lg text-gray-600 text-sm dark:bg-slate-700 dark:text-gray-400" %>
107-
<%= form.date_field :to, value: :to, class: "bg-gray-100 font-semibold rounded-lg text-gray-600 text-sm dark:bg-slate-700 dark:text-gray-400" %>
106+
<%= form.date_field :from, value: from, class: "mr-2 bg-gray-100 font-semibold rounded-lg text-gray-600 text-sm dark:bg-slate-700 dark:text-gray-400" %>
107+
<%= form.date_field :to, value: to, class: "bg-gray-100 font-semibold rounded-lg text-gray-600 text-sm dark:bg-slate-700 dark:text-gray-400" %>
108108
</div>
109109
<%= form.submit "#{t('punches_filter.to_filter')}", formmethod: :get, class: "px-4 py-2 mr-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-primary-600 hover:bg-primary-700" %>
110-
<%= link_to "#{t('punches_filter.clean_filter')}", new_admin_admin_user_path(@user, anchor: "user_punches"), class: "px-4 py-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-slate-700 hover:bg-gray-600" %>
110+
<%= link_to "#{t('punches_filter.clean_filter')}", new_admin_admin_user_path(@user, anchor: "user_punches"), class: "px-4 py-2 cursor-pointer font-semibold text-sm text-white transition-colors duration-150 rounded-lg bg-slate-700 hover:bg-gray-600" %>
111111
<% end %>
112-
</div>
112+
</div>
113113
<div class="py-4">
114114
<%= link_to "#{t('punches_filter.download_xls')}", '#', class: "inline-flex items-center w-full text-sm font-semibold text-gray-400 duration-150 underline hover:no-underline dark:hover:text-gray-200" %>
115115
<%= link_to "#{t('punches_filter.all_punches')}", '#', class: "inline-flex items-center w-full text-sm font-semibold text-gray-400 duration-150 underline hover:no-underline dark:hover:text-gray-200" %>

spec/features/admin/evaluations_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282
within '#filters_sidebar_section' do
8383
expect(page).to have_css('label', text: 'Criado em')
8484

85-
fill_in 'q_created_at_gteq_datetime', with: 9.months.ago
86-
fill_in 'q_created_at_lteq_datetime', with: 7.months.ago
85+
fill_in 'q_created_at_gteq', with: 9.months.ago
86+
fill_in 'q_created_at_lteq', with: 7.months.ago
8787

8888
click_button 'Filtrar'
8989
end

0 commit comments

Comments
 (0)