Sha256: b3ed1e6e6d2b659315af1deffe91624aefb70f509707870d4a07c2856c0f9233
Contents?: true
Size: 585 Bytes
Versions: 18
Compression:
Stored size: 585 Bytes
Contents
describe "Sending an email via the contact form", type: :feature do before { sign_in(:user) } it "sends mail" do visit '/' click_link "Contact" expect(page).to have_content "Contact Form" fill_in "Your Name", with: "Test McPherson" fill_in "Your Email", with: "archivist1@example.com" fill_in "Message", with: "I am contacting you regarding ScholarSphere." fill_in "Subject", with: "My Subject is Cool" select "Depositing content", from: "Issue Type" click_button "Send" expect(page).to have_content "Thank you for your message!" end end
Version data entries
18 entries across 18 versions & 3 rubygems