Don't you just hate to write Cucumber path helpers to be able to say this?
Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...
If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:
Feature Queries (Edge 12+): Similar to @media queries, @supports blocks can be scoped to browsers that support a given declaration...
PostgreSQL's array data type is pretty useful, but manipulating values of arrays can be awkward because of its syntax...
Be careful when stubbing out attributes on records that are defined by associations. Nothing is as it seems to be...
In theory you can take any scope and extend it with additional joins or conditions. We call this chaining scopes...
This only applies to RSpec below version 1.3.2. The issue has been fixed in RSpec 1.3.2, and most likely RSpec...
The following example is from the Cucumber wiki: Given a blog post named "Random" with Markdown body """ Some Title, Eh...
Sometimes in the course of development you may need to mock HTTP responses. This is a simple service to return...
...for Ruby. It could be run periodically from a scheduler and check if application tests are broken. In case of failed tests Cerberus sends notification to developers...
It turned out that the test subject didn't know that longdesc even existed before the tester told him about it. Can you blame him...
Rake tasks to run specs and tests in parallel, to use multiple CPUs and speedup test runtime...
Mockito is a mocking framework that tastes really good. It lets you write beautiful tests with clean & simple API. Mockito doesn't give you hangover because the tests are very...
RESTClient is a Java application to test RESTful webservices. It can be used to test variety of HTTP communications...
Test spies are a form of test double that preserves the normal four-phase unit
Don't write resources :people, :concerns => :trashable Write resources :people do concerns :trashable end Why Writing a controller...
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...
Spreewald's patiently repeats the given block again and again until it either passes or times out.
Note: We are talking about Machinist 1 here, Machinist 2 may have solved this or might require a different approach...
If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...
sslscan is a nice tool to show details about TLS/SSL connections: ~> sslscan some-host-at.makandra.de Testing SSL server some-host-at.makandra.de on port 443 Supported Server Cipher(s): Failed SSLv3 256 bits ECDHE-RSA...
When refactoring a sequence of steps to a new, more descriptive step, you can use the steps method and Ruby...