Rails : Capybara Webkit : Issue : Multiple JS events in single example

I recently moved from Selenium Web Driver to Thoughtbot’s Capybara Webkit as JS Driver for Capybara. The main reason is, webkit is super fast in running the test suite and its headless (no browser pops up ) .

Problem I faced

I was changing the option in select box and expecting the change in span’s content. Actually some sort of calculation should have been triggered. Webkit was not triggering the ‘change‘ event properly.

Continue reading

Advertisements

Ruby On Rails : Engineyard : ActionMailer’s asset_url helper method not working as expected

I have been using Engineyard as PaaS for deploying my Ruby On Rails application. To have my app server intact I have created a utility instance called ‘redis’ to host Redis-Server and Sidekiq. Continue reading