Fix typo in features and specs (exists -> exist)

This commit is contained in:
Thibault Jouan 2015-04-04 23:14:05 +00:00
parent 50a44d51b7
commit d481398980
3 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ Feature: `mkdir' task action
Scenario: creates directory given as argument Scenario: creates directory given as argument
When I successfully execute the recipe on remote target When I successfully execute the recipe on remote target
Then the remote directory "some_directory" must exists Then the remote directory "some_directory" must exist
Scenario: creates directory with given attributes Scenario: creates directory with given attributes
When I successfully execute the recipe on remote target When I successfully execute the recipe on remote target
@ -28,4 +28,4 @@ Feature: `mkdir' task action
end end
""" """
When I successfully execute the recipe on remote target When I successfully execute the recipe on remote target
Then the remote directory "some/directory" must exists Then the remote directory "some/directory" must exist

View File

@ -16,7 +16,7 @@ Given /^a remote file named "([^"]+)" with "([^"]+)"$/ do |file_name, content|
write_file file_name, content write_file file_name, content
end end
Then /^the remote directory "([^"]+)" must exists$/ do |path| Then /^the remote directory "([^"]+)" must exist$/ do |path|
check_directory_presence [path], true check_directory_presence [path], true
end end

View File

@ -47,7 +47,7 @@ module Producer::Core
end end
end end
context 'when parent directories does not exists' do context 'when parent directories does not exist' do
let(:path) { 'some/path' } let(:path) { 'some/path' }
it 'creates parent directories' do it 'creates parent directories' do