mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-01-19 13:46:03 +01:00
8 lines
286 B
Ruby
8 lines
286 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# ensure Rake tasks are only loaded once during the entire RSpec run.
|
||
|
#
|
||
|
# when using it from a `before(:context) { ... }` block this will load the
|
||
|
# tasks more than once and therefore run tasks more often than they should ...
|
||
|
Rails.application.load_tasks
|