Handling Rails Date Selects in Capybara and RSpec
There are multiple ways to present dates in a Rails form. The default approach when scaffolding an object is to present the date as 3 dropdowns for date year, month and day. How to generate a test...
View ArticleTriggering Rails Flash Message on Empty Selection List
This post describes how to trigger a Rails Flash Message on the page based on certain criteria. Our criteria is that the user has to select as least one of the stores in the checkbox list. If he clicks...
View ArticleCapybara Save and Open Page Thwarted by Test Failures
The Capybara Save_and_Open_Page function, displaying the state of the page as RSpec sees it can be really helpful. So when it’s not working it could cause a productivity hit. Here’s a little tip I...
View Article
More Pages to Explore .....