Skip to content

Commit 1deae36

Browse files
committed
Only provide default values for required parameters
The test suite already provide optional parameter values for each test that rely on them, so we do not need to pass them to all tests. Moreover, some on these changed default values prevent the test suite from failing because of a regression introduced when refactoring maps. Remove the default values to trigger the test suite breakage and allow checking that a fix is working as expected.
1 parent 12d6b62 commit 1deae36

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

spec/defines/resource_map_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,6 @@
1515
let :default_params do
1616
{
1717
string: '$uri',
18-
default: 'pool_a',
19-
mappings: {
20-
'foo' => 'pool_b',
21-
'bar' => 'pool_c',
22-
'baz' => 'pool_d'
23-
}
2418
}
2519
end
2620

0 commit comments

Comments
 (0)