Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
amtuannguyen committed Oct 21, 2024
1 parent b68ef6f commit 6965f00
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/students/show.html.erb
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
<h4>Invitation</h4>
<p>
<% if @student.invitation_sent_at.nil? %>
<%= link_to_if AppSettings.email_welcome_allow, "Send invitation email", { id: "#send_invitation_email" }, send_invite_student_path(@student) %>
<%= link_to_if AppSettings.email_welcome_allow, "Send invitation email", send_invite_student_path(@student), id: "send_invitation_email" %>
<% else %>
Sent on <%= @student.invitation_sent_at.strftime("%B %d, %Y")%>
<span class="soft weak">(<%= link_to_if AppSettings.email_welcome_allow, "Send Again", send_invite_student_path(@student), class: "soft weak"%>)</span>
2 changes: 1 addition & 1 deletion test/system/students_test.rb
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ class StudentsTest < ApplicationSystemTestCase
click_link('Create ETD Student Record')
page.accept_alert

page.should have_selector?('send_invitation_email')
page.should have_selector?('#send_invitation_email')

save_screenshot

0 comments on commit 6965f00

Please sign in to comment.