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