summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions/po.rb
diff options
context:
space:
mode:
Diffstat (limited to 'cucumber/features/step_definitions/po.rb')
-rw-r--r--cucumber/features/step_definitions/po.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/cucumber/features/step_definitions/po.rb b/cucumber/features/step_definitions/po.rb
new file mode 100644
index 00000000..c73bacef
--- /dev/null
+++ b/cucumber/features/step_definitions/po.rb
@@ -0,0 +1,8 @@
+Given /^I am in the Git branch being tested$/ do
+ Dir.chdir(GIT_DIR)
+end
+
+Then /^all the PO files should be correct$/ do
+ File.exists?('./submodules/jenkins-tools/slaves/check_po')
+ cmd_helper(['./submodules/jenkins-tools/slaves/check_po'])
+end