The test added from #649 seems to return the hash {some: data} and not nil as it is expected now.
Right now, the test fails in my environment with the following error:
Rabl::Builder #resolve_conditionals asserts that it can use a hash variable on if condition and return true => expected nil, not {:some=>"data"}
This PR is fixing this. Now the tests pass in my environment with Ruby 2.3
The test added from #649 seems to return the hash {some: data} and not nil as it is expected now. Right now, the test fails in my environment with the following error:
This PR is fixing this. Now the tests pass in my environment with Ruby 2.3