This is surprisingly difficult when there is a with the same text on the page, but you really want to...
Online tool to test how a site behaves in popular desktop, tablet and phone resolutions.
If your project manager wants to do gatekeeping on a project, as a developer you need to follow the following...
If you're responsible for gatekeeping in a projects, here is a guide, what to do. In order to reduce...
When your model is using a callback like before_save or before_validation to calculate an aggregated value from its...
Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...
Some helpers for poking around at your Capybara driven browser's cookies in integration tests. Supports Capybara's bundled drivers...
When using Rails to truncate strings, you may end up with strings that are still too long for their container...
Possible Reason 1: parallel_tests - running more processes than features If you run old versions of parallel_tests with more...
The step definition below lets you say: Then I should see a field "Password" But I should not see a...
In order to chain greps on log files that are opened via tail -f test.log you have to use the...
The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...
Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.
Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...
Removing features and merging those changes back can be painful. Here is how it worked for me.\
In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...
Our rcov:all task for aggregated RSpec/Cucumber coverage was overhauled extensively. Among other things it now works for Rails 2...
Code coverage is the ratio of code lines kissed by a test vs. the total number of lines in your...
When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...
When you use google analytics to track your visitors interactions, you should ensure that it runs on your production site...
Since Firefox 8 it is possible to define custom context menus (right clicking) with HTML markup.
If you get the above error when running tests in bulk (but not individually), it's actually the fault of...
When you have objects in your database that hold latitude and longitude and you want to find others that are...
Instead of running all missing migrations on your test database with rake db:migrate RAILS_ENV=test you can also...