Posts Tagged: rake

Another week has passed: Unlike in Windows; in Chrome you cannot easily focus on your bookmarks bar with a keyboard short key on Mac OS X. If you want to run rake tasks in your specs in a before block, be sure to set a line[code language=”ruby”]Rake::Task[name].reenable[/code] so you can re-execute them every time. Rake seems to remember which task has been executed, so you cannot execute it twice. If you want to stub out STDOUT messages (like with ‘puts’) in your spec, use:[code language=”ruby”]STDOUT.stubs(:puts)[/code] When in doubt, speak up. Always. With Scrum, big stories… Read Article →

Scroll To Top