Is there a way to have rspec click a specific font awesome icon? I'm very new to rspec so I apologize if this is a very basic question.
I tried click_link '.fa-envelope'
but it seems like that is looking for the name of the link.
Any ideas?
EDIT:
Here's the html of the link I'm trying to click:
<div class="col-sm-4 align-center">
<a class="email-link" href="/contact"><i class="fa fa-envelope"></i></a>
</div>