test/prefs_test.rb in cliutils-1.3.1 vs test/prefs_test.rb in cliutils-1.4.0

- old
+ new

@@ -8,17 +8,17 @@ # Tests for the Prefs class class TestPrefs < Test::Unit::TestCase def setup @prefs_arr = [ { - 'prompt' => 'Batman or Superman?', + 'prompt_text' => 'Batman or Superman?', 'default' => 'Batman', 'config_key' => 'superhero', 'config_section' => 'personal_info' }, { - 'prompt' => 'Do you feel smart for preferring Batman?', + 'prompt_text' => 'Do you feel smart for preferring Batman?', 'default' => 'Y', 'config_key' => 'batman_answer', 'config_section' => 'personal_info', 'prereqs' => [ { @@ -26,10 +26,10 @@ 'config_value' => 'Batman' } ] }, { - 'prompt' => 'Why do you prefer Superman?!', + 'prompt_text' => 'Why do you prefer Superman?!', 'default' => 'No clue', 'config_key' => 'superman_answer', 'config_section' => 'personal_info', 'prereqs' => [ {