Open azalio opened 6 years ago
You need to put something in the empty hash. Whatever you expect it to be should be in there.
Ahh ok I see now. Thanks for the clarification. Yes it should have been populated automatically. For some reason it is not working though. The problem would most likely be in the serializer. This is a bit complicated to understand as it descends the tree recursively.
I'll look into this later and put out a patch if necessary. Thanks for reporting.
I found and fixed the issue, but the output looks terrible at the moment, and needs to be include the line breaks.
it do
is_expected.to contain_resharder__instance('1').with(
src_cluster_addrs: [{'addr'=>'127.0.0.1:43013', 'snapshot-url'=>'http://127.0.0.1:2990/1/snaps/'}, {'addr'=>'127.0.0.1:43014', 'snapshot-url'=>'http://127.0.0.1:2990/2/snaps/'}, {'addr'=>'127.0.0.1:43015', 'snapshot-url'=>'http://127.0.0.1:2990/3/snaps/'}, {'addr'=>'127.0.0.1:43016', 'snapshot-url'=>'http://127.0.0.1:2990/4/snaps/'}],
)
end
Thank you very much for your work!
Thank you for the great software!
I use it to create a node test. Just change
node
toclass
and create a pseudo-class. All works correct, but in casehash
I got the empty hash.For example:
Changed to:
And then a run the test
rspec
I got error because spaces variable is not empty. Can you give me a hint, how I can fix it?