Class: SleepingKingStudios::Tasks::Apps::Ci::RSpecWrapper
- Inherits:
-
StepWrapper
- Object
- Task
- StepWrapper
- SleepingKingStudios::Tasks::Apps::Ci::RSpecWrapper
- Defined in:
- lib/sleeping_king_studios/tasks/apps/ci/rspec_wrapper.rb
Overview
Wrapper class for calling an RSpec Ci task for a specific application.
Instance Attribute Summary
Attributes inherited from Task
Instance Method Summary collapse
Methods inherited from Task
#initialize, #mute!, #mute?, #say
Methods included from Task::ClassMethods
#description, #option, #options, #task_name
Constructor Details
This class inherits a constructor from SleepingKingStudios::Tasks::Task
Instance Method Details
#call(application) ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/sleeping_king_studios/tasks/apps/ci/rspec_wrapper.rb', line 10 def call application super if spec_files.empty? return SleepingKingStudios::Tasks::Ci::RSpecResults.new({}) end # if run_step(*spec_files) end |