summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2018-11-08 09:34:54 +0000
committerintrigeri <intrigeri@boum.org>2018-11-08 09:35:07 +0000
commit081ee38617b402aa8270f6e6ec2d201b1ca5da68 (patch)
tree17db632d5bb0b94510c0facf407184f44b5286cb
parent847ac59d9151ce8501635bb0475baa317b06592c (diff)
Turn step into a complete sentence (refs: #14576)
-rw-r--r--features/additional_software_packages.feature2
-rw-r--r--features/step_definitions/additional_software_packages.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/features/additional_software_packages.feature b/features/additional_software_packages.feature
index 26f73ff..c672fe7 100644
--- a/features/additional_software_packages.feature
+++ b/features/additional_software_packages.feature
@@ -35,7 +35,7 @@ Feature: Additional software
And I start Tails from USB drive "__internal" and I login with an administration password
And I update APT using apt
When I install "makepp" using apt
- Then Additional Software dpkg hook has been run for package "makepp" and doesn't notify me as the persistence is locked
+ Then the Additional Software dpkg hook has been run for package "makepp" and doesn't notify me as the persistence is locked
And the package "makepp" is installed
# Depends on scenario: I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails
diff --git a/features/step_definitions/additional_software_packages.rb b/features/step_definitions/additional_software_packages.rb
index 46b01dd..dcb5214 100644
--- a/features/step_definitions/additional_software_packages.rb
+++ b/features/step_definitions/additional_software_packages.rb
@@ -123,7 +123,7 @@ Then /^I open the Additional Software documentation from the notification link$/
@screen.wait('ASPDocumentationInstallCloning.png', 120)
end
-Then /^Additional Software dpkg hook has been run for package "([^"]*)" and doesn't notify me as the persistence is locked$/ do |package|
+Then /^the Additional Software dpkg hook has been run for package "([^"]*)" and doesn't notify me as the persistence is locked$/ do |package|
asp_logs = "#{ASP_STATE_DIR}/log"
assert(!$vm.file_empty?(asp_logs))
try_for(60) { $vm.execute("grep #{package} #{asp_logs}").success? }