Module: TaskExampleGroup

Extended by:
ActiveSupport::Concern
Defined in:
lib/decidim/dev/test/rspec_support/rake_tasks.rb

Overview

Task names should be used in the top-level describe, with an optional “rake ”-prefix for better documentation. Both of these will work:

1) describe “foo:bar” do … end

2) describe “rake foo:bar” do … end

Favor including “rake ”-prefix as in the 2nd example above as it produces doc output that makes it clear a rake task is under test and how it is invoked.