Joined May 2011
·

Jorge Dias

XING AG
·
Barcelona
·
·
·

Posted to Wait for ajax with capybara 2.0 over 1 year ago

@mswieboda, I don't know why you would get such error. I normally use phantomjs but sometimes selenium.
In my project I have selenium-webdriver (2.38.0) just in case

An regarding your second command. We use this helper only in some special cases, normally you should check for DOM changes

Posted to Wait for ajax with capybara 2.0 over 1 year ago

@dejancancarevic just add this in your spec_helper.rb

thanks for the comment but on the respondWith the last argument must be a String not an Object

server.respondWith("GET", "/document/12345",
[ 200, {"Content-Type":"application/json"}, JSON.stringify({"name":"paul" })]);

Posted to Excluding files from git locally over 1 year ago

@sujaykrishna that's why the tip is about excluding files in your local copy.

Achievements
762 Karma
79,617 Total ProTip Views