Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...

Sometimes it might be helpful to have a version history for a gem, e.g. when you want to see if...

Ever seen this error when using Graticule? Numerical argument out of domain - acos Similarly to the to_sql problem for...

github.com

Some helpers for poking around at your Capybara driven browser's cookies in integration tests. Supports Capybara's bundled drivers...

You can use text-overflow to truncate a text using CSS but it does not fit fancy requirements.

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...

Consider you have a file that uses improper encoding on special characters. Example: You see the latin1 version "ñ" for...

The step definition below lets you say: Then I should see a field "Password" But I should not see a...

Most of the JavaScript snippets have code that manipulates the DOM. For that reason dom manipulating javascript code should have...

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...

Views are normally (for good reason) not rendered in controller specs. If you need it to happen, use:

makandra dev
github.com

Code coverage for Ruby 1.9 with a powerful configuration library and automatic merging of coverage across test suites.

In cucumber you are able to run features in whatever directory you like. This also includes executing features in subdirectories...

Firefox, Opera and Internet Explorer will repeat elements with position: fixed on every printed page (see attached example).

blog.bitcrowd.net

To make the RSpec matcher of the authorization solution Consul work with Rspec 2.x read the following blog post...

makandracards.com

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...

makandra dev

When you're getting this error, one possibility is that you've created a select field for an association instead...

github.com

When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...

To reduce download time, application servers usually serve content using gzip compression, if the browser supports it.

When you use google analytics to track your visitors interactions, you should ensure that it runs on your production site...

When you have a complex recipe setup with multistage deployment you may run into this error: `role_list_from': unknown...