features/step_definitions/todo_steps.rb in gli-2.9.0 vs features/step_definitions/todo_steps.rb in gli-2.10.0
- old
+ new
@@ -16,9 +16,13 @@
Given /^the todo app is coded to wrap text only for tty$/ do
ENV['TODO_WRAP_HELP_TEXT'] = 'tty_only'
end
+Given /^the todo app is coded to hide commands without description$/ do
+ ENV['HIDE_COMMANDS_WITHOUT_DESC'] = 'true'
+end
+
Given /^a clean home directory$/ do
FileUtils.rm_rf File.join(ENV['HOME'],'gli_test_todo.rc')
end
Then /^the config file should contain a section for each command and subcommand$/ do