From d481398980a11d9bc6245d9e549bf4376d5a7251 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Sat, 4 Apr 2015 23:14:05 +0000 Subject: [PATCH] Fix typo in features and specs (exists -> exist) --- features/actions/mkdir.feature | 4 ++-- features/steps/remote_steps.rb | 2 +- spec/producer/core/actions/mkdir_spec.rb | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/features/actions/mkdir.feature b/features/actions/mkdir.feature index 530d4b6..393ad9b 100644 --- a/features/actions/mkdir.feature +++ b/features/actions/mkdir.feature @@ -13,7 +13,7 @@ Feature: `mkdir' task action Scenario: creates directory given as argument 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 When I successfully execute the recipe on remote target @@ -28,4 +28,4 @@ Feature: `mkdir' task action end """ 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 diff --git a/features/steps/remote_steps.rb b/features/steps/remote_steps.rb index 68518de..0938f61 100644 --- a/features/steps/remote_steps.rb +++ b/features/steps/remote_steps.rb @@ -16,7 +16,7 @@ Given /^a remote file named "([^"]+)" with "([^"]+)"$/ do |file_name, content| write_file file_name, content end -Then /^the remote directory "([^"]+)" must exists$/ do |path| +Then /^the remote directory "([^"]+)" must exist$/ do |path| check_directory_presence [path], true end diff --git a/spec/producer/core/actions/mkdir_spec.rb b/spec/producer/core/actions/mkdir_spec.rb index f04abe7..c4fb952 100644 --- a/spec/producer/core/actions/mkdir_spec.rb +++ b/spec/producer/core/actions/mkdir_spec.rb @@ -47,7 +47,7 @@ module Producer::Core end end - context 'when parent directories does not exists' do + context 'when parent directories does not exist' do let(:path) { 'some/path' } it 'creates parent directories' do