Module: GitReflow::RSpec::WorkflowHelpers
- Defined in:
- lib/git_reflow/rspec/workflow_helpers.rb
Instance Method Summary collapse
Instance Method Details
#suppress_loading_of_external_workflows ⇒ Object
11 12 13 14 15 |
# File 'lib/git_reflow/rspec/workflow_helpers.rb', line 11 def suppress_loading_of_external_workflows allow(GitReflow::Workflows::Core).to receive(:load__workflow).with("#{GitReflow.git_root_dir}/Workflow").and_return(false) return if GitReflow::Config.get('reflow.workflow').to_s.empty? allow(GitReflow::Workflows::Core).to receive(:load_workflow).with(GitReflow::Config.get('reflow.workflow')).and_return(false) end |