features/step_definitions/directory_navigation.rb in ftpd-0.5.0 vs features/step_definitions/directory_navigation.rb in ftpd-0.6.0

- old
+ new

@@ -8,19 +8,19 @@ # However, that could conceivably change: The use of CDUP not # required by the FTP protocol. Therefore we use this step to # ensure that CDUP is sent and therefore tested. When /^the client successfully cd's up$/ do - @client.raw 'CDUP' + client.raw 'CDUP' end When /^the client successfully cd's to "(.*?)"$/ do |path| - @client.chdir path + client.chdir path end Then /^the current directory should be "(.*?)"$/ do |path| - @client.pwd.should == path + client.pwd.should == path end Then /^the XPWD directory should be "(.*?)"$/ do |path| - @client.xpwd.should == path + client.xpwd.should == path end