Usually, Cucumber feature files live in features/. When you group them in sub directories, make sure to add -r features...
I had to deal with JavaScript Undefined Error while accessing a specific CKEditor instance to fill in text. Ensure everything...
Sometimes you have a test expectation but actually want a better error message in case of a failure. Here is...
Put the attached file into features/support/. Example usage: When /^I open the task named "(.+?)"$/ do |task_name| task = page.all('.task...
If you have a text that is edited by WSYIWYG-Editor but want some length checking nevertheless, you need to...
After I upgraded to Mac OS X Mavericks, I regularly got this error message when running Cucumber features with Selenium...
Introducing Trailer from HouseTrip, a simple menu bar app that helps you manage your GitHub pull requests. It’s one...
If your terminal has many tabs, you'll want to keep them organized. To change their title from the prompt...
A MySQL DECIMAL column is used when it is important to preserve exact precision. It takes two parameters, where...
If you want to test that a certain text is contained within the document title of your page, you can...
TLDR: This card explains which threads and processes interact with each other when you run a Selenium test with Capybara...
We've since created ActiveType which has a restricted subset of Virtus' features. It might be enough for your needs...
An annoying part of using font icons is that the icons usually need to live in the DOM. This is...
In Ruby, classes and modules are called constants. This card explains how Ruby resolves the meaning of a constant.
Modern IRB has time measurement built in. measure # Enable measure :off # Disable Custom Should your version of IRB not offer...
# Attach a file # # Example: # # Company.new.logo = File.new… # # Given the file "…" was attached as logo to the company above # # # Example: # # class Gallery...
This error occurs when you already have a database.yml which defines the database for the cucumber environment instead of test...
I've written about the problem with user stories before. At the time, I found it better to just have...
Font Awesome 4 has renamed all icons. What the fuck. Check the attached link for an icon list for the...
We proudly release our safe_cookies middleware into public beta and just published it on Github. Features are:
When you build a link for an email body like this body = "Please click the following link" body << "http://posts/130...
It is good programming practice to Don't Repeat Yourself (or DRY). In Ruby on Rails we keep our code...
Geordi 0.16+ supports running selenium tests with project-specific firefox versions. Just update the gem. It will still default to...
So you client has asked you to implement a row of buttons to like the URL on Facebook, Twitter and...