When using geordi for integration tests you might get the following error when trying to run geordi cucumber:

select2 is a great jQuery library to make (large) fields more usable. For Bootstrap 3 there is select2-bootstrap-theme...

makandra dev

Capistrano has the concept of a "rollback" that comes in really handy in case of errors. When you notice that...

Webpack is the future. We're using it in our latest Rails applications. For tests, we want to compile assets...

I needed to make sure that an element is visible and not overshadowed by an element that has a higher...

makandra dev

This card will show you a cool way to define a class using Struct.new. A common usecase for Structs are...

Rails default config uses the ActiveSupport::Cache::NullStore and disables controller caching for all environments except production: config.action_controller.perform_caching = false...

Shoulda Matchers don't provide canditional validations (validations with if: option). Here is how to write tests for the condition...

Nowadays it is fairly easy to intercept and modify mails globally before they are sent. All you have to do...

makandra dev

ChromeDriver clicking works by simulating a mouse click in the middle of the element's first client rect (or bounding...

When you have a multi-server setup, you'll be adding a new server from time to time. Before doing...

Typhoeus has a different way of representing array params in a get request than RestClient. Typhoeus: http://example.com/?foo[0]=1&foo[1]=2&foo[2]=3

Middleman is a static page generator that brings many of the goodies that Rails developers are used to.

rspec.info

In modern default RSpec configurations, your tests are usually run in random order. This helps to detect "flickering" tests that...

makandra Operations

You can use wscat: sudo apt-get install node-ws # wscat -c ws://echo.websocket.org connected (press CTRL+C to quit...

github.com

The parallel-gem is quite easy to use and can speed up rendering time if you want to render the...

When filling out forms in Selenium tests, Chrome shows the (usual) bubble, asking to store those credentials. While the bubble...

For the initial setup or changes in the sentry reporting it might be useful to enabled reporting of sentry in...

Note: The behaviour of Spreewald's within step is as described below for version < 1.9.0; For Spreewald >= 1.9.0 it is...

This card is just about creating simple PostgreSQL dumps. This is no instruction for a backup strategy nor a guide...

makandra dev

This is a visualization of the files that will be generated by some useful rails generators. Invoke a generator from...

makandra dev
activestate.com

Looks like ActiveState is trying to market a new Ruby distribution for Enterprises: ActiveRuby Enterprise Edition is designed for businesses...

Occasionally, you have to talk to APIs via HTTPS that use a custom certificate or a misconfigured certificate chain (like...

makandra dev

Using VCR to record communication with remote APIs is a great way to stub requests in tests. However, you may...