Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
amtuannguyen committed Oct 20, 2024
1 parent ff4a15e commit a856cff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/views/committee_members/_committee_member.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<%= hidden_field_tag "committee_member_ids[]", committee_member.id %>
<% if @thesis.id && can?(:destroy, committee_member) && @thesis.status != Thesis::PUBLISHED %>
<%= link_to student_thesis_committee_member_path(@student, @thesis, committee_member),
method: :delete, class: "btn btn-close", remote: true do %>
<span class="sr-only">Remove <%= "#{committee_member.name} (#{committee_member.role})" %></span>
method: :delete, remote: true do %>
<span>Remove <%= "#{committee_member.name} (#{committee_member.role})" %></span>
<% end %>
<% end %>
</div>
2 changes: 1 addition & 1 deletion test/application_system_test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def setup

super

current_window.resize_to(1920, 4000)
current_window.resize_to(1920, 1080)

user = FactoryGirl.create(:user)
login_as(user, role: User::STAFF)
Expand Down

0 comments on commit a856cff

Please sign in to comment.