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...

makandra dev

Spring is a Rails application preloader. When debugging e.g. the rails gem, you'll be wondering why your raise, puts...

Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...

makandra dev
filippo.io

Enter the hostname of a server to test it for CVE-2014-0160.

wiki.macromates.com

When using TextMate2 with the cucumber bundle, it does not recognize step definitions (e.g. custom_steps.rb) as such but believes they...

browserstack.com

Local testing allows you to test your private and internal servers using the BrowserStack cloud, which has support for firewalls...

Your development machine is usually on a very good network connection. To test how your application behaves on a slow...

Development environment setup Rails Composer Basically a comprehensive Rails Template. Prepares your development environment and lets you select web server...

String#indent is not a standard Ruby method. When you use it, be sure to know where this method comes...

github.com

"I click on ..." step fixed Errors added to ToleranceForSeleniumSyncIssues::RETRY_ERRORS Capybara::ElementNotFound Selenium::WebDriver::Error::ElementNotVisibleError Selenium::WebDriver::Error...

Spreewald includes a few useful steps for debugging a Capybara session. Then show me the page # => Opens the page in...

Usually, Cucumber feature files live in features/. When you group them in sub directories, make sure to add -r features...