diff --git a/spec/questions_spec.rb b/spec/questions_spec.rb index 4f5fd96b..4c6f8b08 100644 --- a/spec/questions_spec.rb +++ b/spec/questions_spec.rb @@ -63,8 +63,10 @@ end it 'get_domain_name_from_email_address' do - n = get_domain_name_from_email_address 'onboarding@makersacademy.com' - expect(n).to eq 'makersacademy' + first_example = get_domain_name_from_email_address 'onboarding@makersacademy.com' + expect(first_example).to eq 'makersacademy' + second_example = get_domain_name_from_email_address 'nobody@example.co.uk' + expect(second_example).to eq 'example' end it 'titleize_a_string' do