This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...

Have you guys ever done the math on that? You asked or allowed for 24000 interruptions from literally every human...

apidock.com

E.g. when you're using a tagging gem, you have seen virtual attributes that get and set a string array...

makandra dev

In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...

robots.thoughtbot.com

Selenium has been the siren song that continually calls out to us. Unfortunately, in practice we’ve been unable to...

web.archive.org

This step tests whether a given select option comes preselected in the HTML. There is another step to test that...

To only run the next two migrations: rake db:migrate STEP=2 To revert the previous two migrations:

As a user of Bundler you have spent significant time looking at this message: Fetching source index for http://rubygems.org...

This note describes a Cucumber step definition that lets you test whether or not a CSS selector is present on...

blog.jcoglan.com

Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...

github.com

Sometimes you inherit a non Rails or non Rack based web app such as PHP, Perl, Java / JEE, etc. I...

If you previously used version 2.x of Thunderbird and upgraded to 3.x (for example through an Ubuntu release...

Sometimes the order in which strings appear on a page matters to you. Spreewald gives you steps like these:

Note: We are talking about Machinist 1 here, Machinist 2 may have solved this or might require a different approach...

Capybara's has_css? matcher has a couple of options you might find useful. Check that a selector appears a...

timetobleed.com

This post will describe how I stumbled upon a code path in the Linux kernel which allows external programs to...

These steps are now part of Spreewald. This note describes a Cucumber step that lets you write this:

Both these approaches will keep your GET parameters -- and will only work for GET requests. Capybara: When /^I reload the...

Cucumber step argument transforms can be a powerful way to make your steps more flexible. Note however that if your...

RSpec's context (which is basically an alias for describe) takes over your whole application. No object may have its...

web.archive.org

With its you can switch the subject of an example to a method value of the current subject: describe Array...

This will not work (it always passes): Then the "Title" field should contain "" The value is turned into a regular...

youtube.com

power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...

github.com

By default, Cucumber uses mocha. This note shows to use RSpec stubs and mocks instead. Rspec 1 / Rails 2