Commit 0c90a215e85ebd3c37749589100c69fbade23c46
1 parent
c2f481ce
Exists in
staging
and in
42 other branches
sub_organizations: fix tests with newer rubies
Showing
1 changed file
with
5 additions
and
5 deletions
Show diff stats
plugins/sub_organizations/features/sub_organizations_block.feature
| ... | ... | @@ -11,7 +11,7 @@ Feature: related_organizations_block |
| 11 | 11 | And the following community |
| 12 | 12 | | identifier | name | owner | |
| 13 | 13 | | springfield | Springfield | homer | |
| 14 | - | moe | Moe's | homer | | |
| 14 | + | moe | Moe | homer | | |
| 15 | 15 | And the following enterprise |
| 16 | 16 | | identifier | name | owner | |
| 17 | 17 | | duff | Duff | homer | |
| ... | ... | @@ -30,7 +30,7 @@ Feature: related_organizations_block |
| 30 | 30 | And I follow "Add a block" |
| 31 | 31 | And I choose "Related Organizations" |
| 32 | 32 | And I press "Add" |
| 33 | - Then I should see "Moe's" within ".related-organizations-block" | |
| 33 | + Then I should see "Moe" within ".related-organizations-block" | |
| 34 | 34 | And I should see "Duff" within ".related-organizations-block" |
| 35 | 35 | |
| 36 | 36 | Scenario: display only sub-communities |
| ... | ... | @@ -41,12 +41,12 @@ Feature: related_organizations_block |
| 41 | 41 | And I follow "Edit" within ".related-organizations-block" |
| 42 | 42 | And I select "Community" from "block_organization_type" |
| 43 | 43 | And I press "Save" |
| 44 | - Then I should see "Moe's" within ".related-organizations-block" | |
| 44 | + Then I should see "Moe" within ".related-organizations-block" | |
| 45 | 45 | And I should not see "Duff" within ".related-organizations-block" |
| 46 | 46 | |
| 47 | 47 | Scenario: display both sub types on sub-organizations page |
| 48 | 48 | When I go to springfield's "children" page from "SubOrganizationsPluginProfileController" of "SubOrganizations" plugin |
| 49 | - Then I should see "Moe's" | |
| 49 | + Then I should see "Moe" | |
| 50 | 50 | And I should see "Duff" |
| 51 | 51 | |
| 52 | 52 | Scenario: display only sub-communities on sub-organizations page |
| ... | ... | @@ -58,5 +58,5 @@ Feature: related_organizations_block |
| 58 | 58 | And I select "Community" from "block_organization_type" |
| 59 | 59 | And I press "Save" |
| 60 | 60 | And I follow "View all" within ".related-organizations-block" |
| 61 | - Then I should see "Moe's" within ".profile-list" | |
| 61 | + Then I should see "Moe" within ".profile-list" | |
| 62 | 62 | And I should not see "Duff" within ".profile-list" | ... | ... |