The HTML page is supposed to have the following code:
<div class="user-image" style="background-image:url(/images/user_image.jpg)">
How would you check for this using Capybara and RSpec?
The HTML page is supposed to have the following code:
<div class="user-image" style="background-image:url(/images/user_image.jpg)">
How would you check for this using Capybara and RSpec?