search for: sconov

Displaying 3 results from an estimated 3 matches for "sconov".

Did you mean: sonov
2006 Jan 29
2
problem with xul/prototype experiment: "bind" method not found
Hi everyone, I was playing around with xul + prototype, and everything seemed to be going well until I ran into a wall - there seems to be some problem I can''t explain with Function.prototype.bind, for instance when I run this code: try { new Ajax.Request("http://localhost:3000/search/hello", { onComplete: this.onHelloComplete.bind(this) }); } catch
2006 Mar 08
1
indexing a document object fails
Hi, I''m trying out the example (more or less) straight from the tutorial: doc = Document.new doc << Field.new("id", "a", Field::Store::NO, Field::Index::UNTOKENIZED) doc << Field.new("title", "b", Field::Store::YES, Field::Index::UNTOKENIZED) doc << Field.new("data", "c",
2011 Sep 13
12
Assertions for asynchronous behaviour
Hi all, In GOOS[1] they use an assertion called assertEventually which samples the system for a success state until a certain timeout has elapsed. This allows you to synchronise the tests with asynchronous code. Do we have an equivalent of that in the Ruby / RSpec world already? I know capybara has wait_until { } but that''s fairly rudimentary - the failure message isn''t very