Sha256: 6a5ba177ca362fd7c06106596e478ddc0cd37100bbe1714c43577899bca7e199
Contents?: true
Size: 574 Bytes
Versions: 44
Compression:
Stored size: 574 Bytes
Contents
require 'rails_helper' feature 'Visitor creates new contact' do let(:email) { 'test_email@q.com' } let(:incorrect_email) { 'wrong_email.com' } before do login end scenario 'with correct data' do using_wait_time 10 do create_contact(email) expect(page).to have_css('.contacts td', text: email) remove_test_contact(email) end end scenario 'with incorrect data' do using_wait_time 10 do create_contact(incorrect_email) expect(page).to have_css('.error', text: 'Property values were not valid') end end end
Version data entries
44 entries across 22 versions & 1 rubygems