PagerDuty / blender

A modular orchestration engine
https://github.com/PagerDuty/blender
Other
183 stars 8 forks source link

(feat) Use NoOp mode to support unit testing via rspec (macro) #13

Closed ranjib closed 10 years ago

ranjib commented 10 years ago
  let(:scheduler) do                                                          
    noop_scheduler_from_file('example_blend.rb')  
  end                                                                         
  it 'should have 3 tasks' do                                                 
    expect(scheduler.tasks.size).to eq(2)                                     
  end