Sha256: f67bc02f908c3651572fa20e4c584843c6a73f50655e2b922b1d6f8c1145c0b5
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
//=require jquery_ujs //=require unobtrusive_flash //=require ajax_caller //=require_self // simple handler to log all flashes into a variable accessible from the test suite loggingFlashHandler = function(e, params) { if (typeof(window.flashMessages) == 'undefined') window.flashMessages = []; window.flashMessages.push(params); }; $(window).bind('rails:flash', loggingFlashHandler);
Version data entries
3 entries across 3 versions & 1 rubygems