Sha256: 83bf9c2960d947d662fa16b8ffb81a4711b0b2ba64c4c896c3c80642f2674874
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 Bytes
Contents
RSpec.describe OpenAPI::Loader::Denormalizer, ".call" do subject { described_class.call(source) } context "OAS 2" do let(:source) { yaml_fixture_file "oas2/translated.yaml" } let(:target) { yaml_fixture_file "oas2/denormalized.yaml" } it { is_expected.to eq target } end context "OAS 3" do let(:source) { yaml_fixture_file "oas3/collected.yaml" } let(:target) { yaml_fixture_file "oas3/denormalized.yaml" } it { is_expected.to eq target } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
open_api-loader-0.0.1 | spec/unit/denormalizer_spec.rb |