test/robot_test.rb in artoo-0.5.0 vs test/robot_test.rb in artoo-1.0.0.pre

- old
+ new

@@ -62,15 +62,15 @@ it 'Artoo::Robot#as_json' do MultiJson.load(@robot.as_json, :symbolize_keys => true)[:name].must_equal "testme" end - describe 'work' do + describe 'work!' do before do - TestRobot.stubs(:sleep) + TestRobot.stubs(:begin_working) @master = mock('master') - TestRobot.stubs(:master).returns(@master) @master.expects(:start_work) + TestRobot.stubs(:master).returns(@master) end it 'Artoo::Robot.work! with single object' do TestRobot.work!(@robot) end \ No newline at end of file