Commit 450e11f40ec7a2eb100a837bc5f1c571ddc16879
1 parent
c4afac0b
Exists in
master
and in
29 other branches
sub_organizations: fix selenium test
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
plugins/sub_organizations/features/sub_organizations_display.feature
@@ -29,6 +29,7 @@ Feature: sub_organizations_display | @@ -29,6 +29,7 @@ Feature: sub_organizations_display | ||
29 | And I follow "Manage sub-groups" | 29 | And I follow "Manage sub-groups" |
30 | And I follow "Register a new sub-enterprise" | 30 | And I follow "Register a new sub-enterprise" |
31 | And I fill in "Name" with "Bart" | 31 | And I fill in "Name" with "Bart" |
32 | + And I fill in "Address" with "bart" | ||
32 | And I press "Next" | 33 | And I press "Next" |
33 | Then I should see "Enterprise registration completed" | 34 | Then I should see "Enterprise registration completed" |
34 | And I am logged in as admin | 35 | And I am logged in as admin |
plugins/sub_organizations/lib/ext/create_enterprise.rb
@@ -2,4 +2,5 @@ require_dependency 'create_enterprise' | @@ -2,4 +2,5 @@ require_dependency 'create_enterprise' | ||
2 | 2 | ||
3 | class CreateEnterprise | 3 | class CreateEnterprise |
4 | settings_items :sub_organizations_plugin_parent_to_be | 4 | settings_items :sub_organizations_plugin_parent_to_be |
5 | + DATA_FIELDS << 'sub_organizations_plugin_parent_to_be' | ||
5 | end | 6 | end |