sublayer
sublayer copied to clipboard
add integer output adapter
https://github.com/sublayerapp/sublayer/issues/16
For these new output adapters, let's also make sure to create a new example in the examples directory that uses it along with the specs for the main 3 providers like in here: https://github.com/sublayerapp/sublayer/blob/main/spec/generators/examples/code_from_description_generator_spec.rb
I expect that we're going to be changing up the format_properties
method in the providers a bunch so want to make sure that will still work across all these adapters.
Also, kind of thinking we may not need to assert on the exact contents, since that will probably change any time we re-generate the VCR cassettes....maybe there's a way to verify that the contents of the generate
call actually exist and are roughly correct? Like for this integer one, that the result is actually a number, but the exact number doesn't matter for testing purposes you know?