diff --git a/features/Configuration.feature b/features/Configuration.feature index 971934f41ad9a073d335ebd21537364f0eac8efb..e406a58b53e9c7ad580cf59c932ea5301e2b86f9 100644 --- a/features/Configuration.feature +++ b/features/Configuration.feature @@ -50,7 +50,7 @@ Feature: configuration model Scenario: merge empty file with default presets Given the file is empty When I merge the presets and the file - Then the list of configuration atoms should contain 14 elements + Then the list of configuration atoms should contain 13 elements And there should be 1 enabled configuration line Scenario: merge non-empty file with enabled-by-default preset in @@ -60,7 +60,7 @@ Feature: configuration model /home/amnesia/.myapp source=myapp """ When I merge the presets and the file - Then the list of configuration atoms should contain 15 elements + Then the list of configuration atoms should contain 14 elements And there should be 3 enabled configuration lines Scenario: merge non-empty file with disabled-by-default preset in @@ -70,7 +70,7 @@ Feature: configuration model /home/amnesia/.myapp source=myapp """ When I merge the presets and the file - Then the list of configuration atoms should contain 15 elements + Then the list of configuration atoms should contain 14 elements And there should be 3 enabled configuration lines Scenario: read and write file that contains a three-columns line diff --git a/features/Step_Configure.feature b/features/Step_Configure.feature index 3182df997c60d08fe689e2aa47e3f4014898335e..5c3198ed93e46f4d13955e11b504f6bf7c078cdf 100644 --- a/features/Step_Configure.feature +++ b/features/Step_Configure.feature @@ -7,9 +7,9 @@ Feature: configure step Given I have a Configuration object And I have a Step::Configure object Then I should have a defined Step::Configure object - And the list of item buttons should contain 14 elements - And the list of configuration atoms should contain 14 elements - And the list box should have 14 children + And the list of item buttons should contain 13 elements + And the list of configuration atoms should contain 13 elements + And the list box should have 13 children And there should be 1 active buttons And every active button's atom should be enabled And every inactive button's atom should be disabled diff --git a/t/specs/Configuration.t b/t/specs/Configuration.t index f24fd0172ce6b282f23260c01efb7ba2454c8d67..b5f4be8b84e6e84eaf128ea8fdebec0fe1f7fad1 100644 --- a/t/specs/Configuration.t +++ b/t/specs/Configuration.t @@ -34,8 +34,8 @@ describe 'A configuration object' => sub { config_file_path => file($config_filename) ); }; - it 'has 14 atoms' => sub { - is(scalar($configuration->all_atoms), 14); + it 'has 13 atoms' => sub { + is(scalar($configuration->all_atoms), 13); }; it 'has 1 enabled atom' => sub { is(scalar($configuration->all_enabled_atoms), 1); @@ -59,8 +59,8 @@ EOF config_file_path => file($config_filename) ); }; - it 'has 15 atoms' => sub { - is(scalar($configuration->all_atoms), 15); + it 'has 14 atoms' => sub { + is(scalar($configuration->all_atoms), 14); }; it 'has 4 enabled atoms' => sub { is(scalar($configuration->all_enabled_atoms), 4); diff --git a/t/specs/Configuration::Presets.t b/t/specs/Configuration::Presets.t index 57de8ecfc09d2ea9f4945515f168a188152cedcd..6f475194819145aa94f8108d2fc2e6985dafc3b8 100644 --- a/t/specs/Configuration::Presets.t +++ b/t/specs/Configuration::Presets.t @@ -14,8 +14,8 @@ describe 'A configuration presets object' => sub { it 'can return all presets' => sub { ok($presets->all); }; - it 'has 14 elements' => sub { - is(scalar($presets->all), 14); + it 'has 13 elements' => sub { + is(scalar($presets->all), 13); }; it 'has a GnuPG preset' => sub { is(scalar(grep { $_->name eq 'GnuPG' } $presets->all), 1);