Sha256: 719504a011f4ca29acbfc2cc4f35a1e602ba070678529a9f9d76dc81f7461851
Contents?: true
Size: 598 Bytes
Versions: 62
Compression:
Stored size: 598 Bytes
Contents
require 'test_helper' module Workarea module Storefront class CustomerServiceSystemTest < Workarea::SystemTest def test_logs_to_the_database_and_sends_an_email visit storefront.contact_path within '#customer_service_form' do fill_in 'name', with: 'Ben Crouse' fill_in 'email', with: 'bcrouse@workarea.com' fill_in 'order_id', with: 'ORDER123' fill_in 'message', with: 'test message' click_button t('workarea.storefront.forms.send') end assert(page.has_content?('Success')) end end end end
Version data entries
62 entries across 62 versions & 1 rubygems