Files
grecia/spec/system/user_invites_spec.rb
Javi Martín 55d81fcac7 Fix missing "for" attribute in user invitations label
Since the attribute was missing, the label wasn't correctly associated
with its field.
2024-11-08 15:03:55 +01:00

14 lines
344 B
Ruby

require "rails_helper"
describe "User invites" do
scenario "Send invitations" do
login_as_manager
visit new_management_user_invite_path
fill_in "Emails", with: "john@example.com, ana@example.com, isable@example.com"
click_button "Send invitations"
expect(page).to have_content "3 invitations have been sent."
end
end