Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,7 @@ $(function() {
no_results_text: 'No results matched'
});

$('[data-bs-toggle="tooltip"]').tooltip();
document.querySelectorAll('[data-bs-toggle="tooltip"]').forEach((el) => {
new bootstrap.Tooltip(el);
});
});
6 changes: 3 additions & 3 deletions spec/features/admin/meeting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
click_on 'Save'

expect(page).to have_text('You have successfully updated the details of this meeting')
expect(page).to have_css(%(span[title="#{permissions.members.last.full_name}"]))
expect(page).to have_no_css(%(span[title="#{permissions.members.first.full_name}"]))
expect(page).to have_css(%(img[alt="#{permissions.members.last.full_name}"]))
expect(page).to have_no_css(%(img[alt="#{permissions.members.first.full_name}"]))
end

scenario 'adding an organiser', :js do
Expand All @@ -71,7 +71,7 @@

click_on 'Save'

expect(page).to have_css(%(span[title="#{new_organiser.full_name}"]))
expect(page).to have_css(%(img[alt="#{new_organiser.full_name}"]))
end
end

Expand Down