Sha256: 7d5578042e9c3f27016becd6a0db70c5de75c58430cda2ffe6a1c10ae272e3b8

Contents?: true

Size: 451 Bytes

Versions: 8

Compression:

Stored size: 451 Bytes

Contents

require 'spec_helper'

describe Api::V2::ArchitecturesController do
  let(:resource_description) { Apipie.get_resource_description(described_class, "2.0") }

  describe "resource description" do
    describe 'version' do
      subject { resource_description._version }

      it { is_expected.to eq('2.0') }
    end

    describe 'name' do
      subject { resource_description.name }

      it { is_expected.to eq('Architectures') }
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
apipie-rails-1.4.2 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.4.1 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.4.0 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.3.0 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.2.3 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.2.2 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.2.1 spec/controllers/api/v2/architectures_controller_spec.rb
apipie-rails-1.2.0 spec/controllers/api/v2/architectures_controller_spec.rb