Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
Just install this in your apps like so:
gem 'test-spec-mini', :git => 'git://gist.github.com/1806986.git', :require => 'mini'
| // this allows culerity to wait until all ajax requests have finished | |
| jQuery(function($) { | |
| var original_ajax = $.ajax; | |
| var count_down = function(callback) { | |
| return function() { | |
| try { | |
| if(callback) { | |
| callback.apply(this, arguments); | |
| }; | |
| } catch(e) { |