Joined May 2011
·
Posted to
Wait for ajax with capybara 2.0
over 1 year
ago
@dejancancarevic just add this in your spec_helper.rb
Posted to
Mocking Backbone.Model fetch() requests with Sinon.fakeServer
over 1 year
ago
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,721 Total ProTip Views
T-Rex
Have at least one original repo where C is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
@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