features/step_definitions/delete.rb in ftpd-0.5.0 vs features/step_definitions/delete.rb in ftpd-0.6.0
- old
+ new
@@ -3,13 +3,13 @@
step %Q(the client successfully deletes "#{path}")
end
end
When /^the client successfully deletes "(.*?)"$/ do |path|
- @client.delete path
+ client.delete path
end
When /^the client deletes with no path$/ do
capture_error do
- @client.raw 'DELE'
+ client.raw 'DELE'
end
end