If you need to follow links, click buttons, etc. using Capybara inside an , you can do it like this:

makandra dev
semaphoreci.com

Capistrano 3 is a major rework of the framework and requires several adjustments to your deploy configuration files. The biggest...

github.com

If you have FactoryGirl traits like this: factory :movie do title 'Sunshine' year 2007 trait :vintage do year 1951

Please don't use the horrible datetime_select helper. It has a terrible UI. Always prefer to use a visual...

You might wonder about this request in your test.log: Started GET "/__identify__" for 127.0.0.1 at 2015-04-29 18:00...

github.com

jquery-placeholder is a simple jQuery plugin that enables form placeholders in browsers that do not support them natively, i.e...

makandra dev
plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

If you want to grow a Ruby Array, you might find out about #fill but it is not really what...

makandra dev

Code folding is a very useful feature to me. It gives me a quick overview over a file and keeps...

makandra dev
dncmagazine.blob.core.windows.net

This cheat sheet...

...aims at providing a quick reference to the most commonly used features in AngularJS.

When ending a Selenium test Capybara resets the browser state by closing the tab, clearing cookies, localStorage, etc.

If you want to rotate text, you can use CSS transforms in somewhat modern browsers to rotate the container element...

Here's a pretty useful steps that hasn't made it into Spreewald yet. It is best used with the...

robots.thoughtbot.com

Good article about window functions. Also note how they use a postgres feature called common table expressions.

When you are using the #selector_for helper in Cucumber steps, as e.g. Spreewald does, the following snippet will save...

I got the following error after updating the selenium-webdriver gem: wrong number of arguments (0 for 1) (ArgumentError) /home/pointoo-dev/.rvm/gems/ruby-1.8.7-p374/gems/selenium-webdriver-2.35.1/lib/selenium/webdriver/common/platform.rb...

guides.rubyonrails.org

When running migrations with rake db:migrate, there's the STEP and VERSION parameters that you can pass to nearly...

I've pushed an update to Cucumber factory that simplifies working with FactoryGirl factories. Say you define a factory with...

makandra dev
github.com

Geordi 1.0 features a command line application geordi, that holds most of Geordi's previous commands. New features

Add gem 'database_cleaner' to your Gemfile. Then: Cucumber & Rails 3+ # features/support/database_cleaner.rb DatabaseCleaner.clean_with(:deletion) # clean once, now DatabaseCleaner.strategy = :transaction...

github.com

Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...

github.com

Then the "sorted" select should be sorted But the "unsorted" select should not be sorted

When navigating back to a page that was received from a POST request, undesired side effects may happen. Therefore, modern...

When running Selenium features with parallel_tests, some browser-server interaction might take longer than usual and the impatient Capybara...