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