makandra dev
responsive.is

Online tool to test how a site behaves in popular desktop, tablet and phone resolutions.

This only applies to RSpec below version 1.3.2. The issue has been fixed in RSpec 1.3.2, and most likely RSpec...

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

makandra dev

The handy method has_select?(field, :selected => text) does not behave as expected with Cucumber 0.10.2, Capybara 0.4.1.2 and Selenium...

You probably know about the possibility to tag scenarios in Cucumber to run your own piece of code before the...

Don't you just hate to write Cucumber path helpers to be able to say this?

The attached patch lets you find a record by a string or number in any column: User.find_by_anything('carla...

In order to save the original value of a constant, set the new value and restore the old value after...

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

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

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

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.

makandra dev
github.com

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

blog.bitcrowd.net

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