Remove cucumber monkey patch translating steps:
It was initially added to allow reuse of aruba cucumber steps, using `must' instead of `should'. This is creating more harm than good, hence we remove it and implements all missing steps, using aruba API.
This commit is contained in:
@@ -10,14 +10,14 @@ Given /^a remote file named "([^"]+)" with "([^"]+)"$/ do |file_name, content|
|
||||
write_file file_name, content
|
||||
end
|
||||
|
||||
Then /^the remote directory "([^"]+)" should exists$/ do |path|
|
||||
check_directory_presence([path], true)
|
||||
Then /^the remote directory "([^"]+)" must exists$/ do |path|
|
||||
check_directory_presence [path], true
|
||||
end
|
||||
|
||||
Then /^the remote file "([^"]+)" should contain "([^"]+)"/ do |path, content|
|
||||
Then /^the remote file "([^"]+)" must contain "([^"]+)"$/ do |path, content|
|
||||
check_file_content path, content, true
|
||||
end
|
||||
|
||||
Then /^the remote file "([^"]+)" should contain exactly "([^"]+)"/ do |path, content|
|
||||
Then /^the remote file "([^"]+)" must contain exactly "([^"]+)"$/ do |path, content|
|
||||
check_exact_file_content path, content
|
||||
end
|
||||
|
Reference in New Issue
Block a user