|
67 | 67 | fill_in 'Initial rate', with: '0.1' |
68 | 68 | fill_in 'Next rate', with: '0.2' |
69 | 69 | fill_in_tom_select 'Vendor', with: vendor.display_name, search: true |
70 | | - fill_in_tom_select 'Account', with: account.display_name, search: true |
| 70 | + select_tom_select_by_value 'Account', { account.id => account.display_name } |
71 | 71 | fill_in_tom_select 'Routing group', with: routing_group.display_name |
72 | 72 | fill_in_tom_select 'Routeset discriminator', with: routeset_discriminator.display_name |
73 | | - fill_in_tom_select 'Gateway', with: gateway.display_name |
| 73 | + select_tom_select_by_value 'Gateway', { gateway.id => gateway.display_name } |
74 | 74 | fill_in_tom_select 'Currency', with: currency.name |
75 | 75 | end |
76 | 76 |
|
|
161 | 161 | fill_in 'Initial rate', with: '0.1' |
162 | 162 | fill_in 'Next rate', with: '0.2' |
163 | 163 | fill_in_tom_select 'Vendor', with: vendor.display_name, search: true |
164 | | - fill_in_tom_select 'Account', with: account.display_name, search: true |
| 164 | + select_tom_select_by_value 'Account', { account.id => account.display_name } |
165 | 165 | fill_in_tom_select 'Routing group', with: routing_group.display_name |
166 | 166 | fill_in_tom_select 'Routeset discriminator', with: routeset_discriminator.display_name |
167 | | - fill_in_tom_select 'Gateway Group', with: gateway_group.display_name |
| 167 | + select_tom_select_by_value 'Gateway Group', { gateway_group.id => gateway_group.display_name } |
168 | 168 | fill_in_tom_select 'Currency', with: currency.name |
169 | 169 | end |
170 | 170 |
|
|
193 | 193 | fill_in 'Initial rate', with: '0.1' |
194 | 194 | fill_in 'Next rate', with: '0.2' |
195 | 195 | fill_in_tom_select 'Vendor', with: vendor.display_name, search: true |
196 | | - fill_in_tom_select 'Account', with: account.display_name, search: true |
| 196 | + select_tom_select_by_value 'Account', { account.id => account.display_name } |
197 | 197 | fill_in_tom_select 'Routing group', with: routing_group.display_name |
198 | 198 | fill_in_tom_select 'Routeset discriminator', with: routeset_discriminator.display_name |
199 | | - fill_in_tom_select 'Gateway', with: gateway.display_name |
200 | | - fill_in_tom_select 'Gateway Group', with: gateway_group.display_name |
| 199 | + select_tom_select_by_value 'Gateway', { gateway.id => gateway.display_name } |
| 200 | + select_tom_select_by_value 'Gateway Group', { gateway_group.id => gateway_group.display_name } |
201 | 201 | fill_in_tom_select 'Currency', with: currency.name |
202 | 202 | end |
203 | 203 |
|
|
0 commit comments