Run bundle update cucumber capybara cucumber-rails to update to the newest versions. Backup your features/support/path.rb to be able to...
JavaScript objects can have getter and setter functions that are called when a property is read from or written to...
This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. This setup allows...
Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...
capybara_element['attribute_name'] allows accessing an element's attributes in Capybara. A few examples: find('#my_element')['class']
Cucumber will clean up files you've uploaded in your Cucumber features automatically with the attached code. Put the file...
This step will pass if the specified select is sorted. Then /^the "(.*?)" select should be sorted$/ do |label, negate|
The Rails asset pipeline improves delivery of application assets (javascripts, stylesheets, images, fonts). Here are some basic facts about its...
If you get one of this errors: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ( ): found...
One of the many useful features of TextMate is autocompletion of words. If I were in TextMate right now, I...
Rails migrations allow you to use a change method whose calls are automatically inverted for the down path. However, if...
Upgrading from Ruby 1.8.7 to 2.1.2 took me an hour for a medium-sized application. It involved hardly any changes...
Cucumber allows for prose in features and scenarios. Example: Feature: Cancel account There are several ways to cancel a user...
This is a problem when using Selenium with Firefox. We recommend using ChromeDriver for your Selenium tests. Firefox will not...
MetricsGraphics.js is a library built on top of D3 that is optimized for visualizing and laying out time-series data...
Firefox 5.0.1, which we were using for most Rails 2.3 projects, does not run on Ubuntu 14.04 any more. Here...
In a JavaScript console, type this: > 9112347935156469760 9112347935156470000 Ooops. And that's not a float! This occurs because JavaScript uses...
Modern browsers natively suppport file pickers that allow the user to choose multiple files at once. To activate this feature...
In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...
Capybara will fail to find tags that are missing an href attribute. This will probably happen to you every now...
The flip-flop operator is a hotly contested feature of Ruby. It's still struggling to find an idiomatic use...
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...
Great gem to consume RSS feeds. I was missing some features on Ruby's RSS::Parser that I found in...