Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...

TL;DR In blueprints, always wrap associations in blocks. # Broken Task.blueprint(:vacation) do project Project.make(:vacation) hours 8 accounting_method...

In Cucumber, scenario outlines help avoiding tests that are basically the same, except for a few variables (such as different...

While RSpec 1 and 2 decided that specs inside spec/model are model specs, and those inside spec/features are feature specs...

When you don't only have a favicon.ico in your project but also PNGs of different sizes and backgrounds, you...

makandra dev

Spreewald 1.1.0 drops the be_true and be_false matchers in order to be RSpec 3 and Ruby 2 compatible...

Safari on iOS accepts an apple-touch-icon favicon that is used for stuff like desktop bookmarks. Always define a...

makandra dev
github.com

The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...

makandra dev
gist.github.com

The attached RSpec matcher allows for comfortably testing delegation. Examples describe Post do it { should delegate(:name).to(:author).with...

rails-assets.org

Automatically builds gems from Bower packages (currently 1700 gems available). Packaged Javascript files are then automatically available in your asset...

If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...

In whenever you can schedule Ruby code directly like so: every 1.day, :at => '4:30 am' do runner "MyModel.task_to...

So you're getting an error message like the following, although your Gemfile lists shoulda-matchers and it has always...

Aruba is an extension to Cucumber that helps integration-testing command line tools. When your tests involve a Rails test...

When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...

blog.salsify.com

An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...

makandra dev

You need this awkward command: page.driver.browser.action.move_to(page.find(selector).native).perform Note that there are better ways for newer Capybaras...

github.com

Using this gem, whenever a Capybara test in Cucumber, Rspec or Minitest fails, the HTML for the failed page and...

Travis CI is a free continuous integration testing service. However, it is really fragile and will break more than it...

RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...

Sometimes you're getting an ActiveSupport deprecation warning that you cannot or don't want to fix. In these cases...

Warnings like those below may originate from rspec or shoulda-matchers or other gems that have not updated yet to...

The error unexpected 'x' after 'DESCENDANT_SELECTOR' (Nokogiri::CSS::SyntaxError) (where x may be basically any character) occurs when the...

guides.rubyonrails.org

config.action_controller.action_on_unpermitted_parameters enables logging or raising an exception if parameters that are not explicitly permitted are...