Category Archives: Capybara

Adding A ‘has_image?’ Matcher To Capybara

I’m rather shocked that Capybara doesn’t have a ‘has_image?’ matcher built in to it. But after search around google for a while, the only thing I found was a bunch of StackOverflow answers that all say to use ‘has_xpath?’ to … Continue reading 

Also posted in Rails, RSpec, Test Automation | 3 Comments

Verifying Generated HTML With HAML, Cucumber, Capybara and RSpec

Several of the reports that the app that Joey and I are working on will be generated via HAML to be displayed in the app, for the users. The generated content will end up being HTML, but starts it’s life … Continue reading 

Also posted in Cucumber, HAML, RSpec, Ruby, Test Automation, Testing | Leave a comment