Skip to content

Commit

Permalink
removed zut from conmmand server and emptied steps
Browse files Browse the repository at this point in the history
  • Loading branch information
rwestgeest committed Feb 23, 2012
1 parent 12646d4 commit 0f8163c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
5 changes: 2 additions & 3 deletions features/step_definitions/drop_can_steps.rb
Expand Up @@ -3,11 +3,10 @@
end

When /^drawer (\d+) drops a can$/ do |arg1|
@machine.clear_bin_events
@machine.drop_can_from_drawer(arg1.to_i)
pending "step just created - implement it now"
end

Then /^it is received by the bin$/ do
probe("bin should be filled") { @machine.bin_has_received_something }
pending "step just created - implement it now"
end

15 changes: 0 additions & 15 deletions lib/control/command_server.rb
Expand Up @@ -11,20 +11,5 @@ def self.start
DRb.start_service(URI, self.new)
end

def test
log "works"
end

def clear_bin_events
@bin = PhyscalBin.new
end

def drop_can_from_drawer(drawer)
PhysicalDrawer.new(drawer).drop_can
end

def bin_has_received_something
!@bin.empty?
end
end
end

0 comments on commit 0f8163c

Please sign in to comment.