I have an unusual case where I need to do something like this:
context 'another context' do
# I would like to merge with the
# the other node_params hash here
# but this doesn't work because
# there's no super() yet.
:y => 1,
it 'some test' do
describe 'something' do
# define node params
:x => 1,
# call helper
The helper function needs to get access to the node_params from the calling context (:x => 1), but i can't seem to be to do it. If I surround the call to helper with another context, then it will work.
Curious if there are elegant solutions to this. Thanks!!