Module: Fantaskspec
- Defined in:
- lib/fantaskspec.rb,
lib/fantaskspec/version.rb,
lib/fantaskspec/rake_example_group.rb
Defined Under Namespace
Modules: RakeExampleGroup Classes: AmbiguousNameError
Constant Summary collapse
- TASK_SPEC_PATHS =
[/spec\/tasks/, /spec\/lib\/tasks/]
- VERSION =
"1.0.0"
Class Method Summary collapse
Class Method Details
.initialize_configuration(config) ⇒ Object
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fantaskspec.rb', line 10 def self.initialize_configuration(config) config.include RakeExampleGroup, type: :rake def config.infer_rake_task_specs_from_file_location! TASK_SPEC_PATHS.each do |escaped_path| (file_path: escaped_path) do || [:type] ||= :rake end end end end |