From b1c7ff27b4f39472acdcd588edead7db44c28e56 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 5 Mar 2014 02:14:36 +0000 Subject: [PATCH] Fix wording in `file_replace_content' scenarios --- features/actions/file_replace_content.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/actions/file_replace_content.feature b/features/actions/file_replace_content.feature index e460957..d476b62 100644 --- a/features/actions/file_replace_content.feature +++ b/features/actions/file_replace_content.feature @@ -4,7 +4,7 @@ Feature: `file_replace_content' task action Background: Given a remote file named "some_file" with "some content" - Scenario: replace a string by another in the requested file + Scenario: replaces a string by another in the requested file Given a recipe with: """ target 'some_host.test' @@ -17,12 +17,12 @@ Feature: `file_replace_content' task action Then the exit status must be 0 And the remote file "some_file" must contain exactly "some other content" - Scenario: replace a regular expression by a string in the requested file + Scenario: replaces a regular expression by a string in the requested file Given a recipe with: """ target 'some_host.test' - task :replace_string_in_file do + task :replace_regexp_in_file do file_replace_content 'some_file', /\w+\z/, 'other content' end """