Retrospring/spec/support/load_rake_tasks.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
286 B
Ruby
Raw Normal View History

2023-01-11 12:12:13 -08:00
# 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