Module: LyberCore::Rspec
- Defined in:
- lib/lyber_core/rspec.rb
Overview
Methods to support testing robots
Instance Method Summary collapse
Instance Method Details
#test_perform(robot, druid) ⇒ Object
6 7 8 9 |
# File 'lib/lyber_core/rspec.rb', line 6 def test_perform(robot, druid) allow(robot).to receive(:druid).and_return(druid) robot.perform_work end |