Sha256: db2560fd869832c723effafb68e949708a0bf569a8947c19da09e93c335c3f1e

Contents?: true

Size: 307 Bytes

Versions: 15

Compression:

Stored size: 307 Bytes

Contents

require 'spec_helper'

describe MB::API::Application do
  subject { described_class }

  it "has V1 mounted at '/'" do
    endpoint = subject.endpoints.find { |endpoint| endpoint.options[:app] == MB::API::V1 }
    expect(endpoint).to_not be_nil
    expect(endpoint.options[:path]).to include('/')
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
motherbrain-1.5.0 spec/unit/mb/api/application_spec.rb
motherbrain-1.4.0 spec/unit/mb/api/application_spec.rb
motherbrain-1.3.0 spec/unit/mb/api/application_spec.rb
motherbrain-1.2.1 spec/unit/mb/api/application_spec.rb
motherbrain-1.2.0 spec/unit/mb/api/application_spec.rb
motherbrain-1.1.3 spec/unit/mb/api/application_spec.rb
motherbrain-1.1.2 spec/unit/mb/api/application_spec.rb
motherbrain-1.1.1 spec/unit/mb/api/application_spec.rb
motherbrain-1.1.0 spec/unit/mb/api/application_spec.rb
motherbrain-1.0.0 spec/unit/mb/api/application_spec.rb
motherbrain-0.14.5 spec/unit/mb/api/application_spec.rb
motherbrain-0.14.4 spec/unit/mb/api/application_spec.rb
motherbrain-0.14.3 spec/unit/mb/api/application_spec.rb
motherbrain-0.14.2 spec/unit/mb/api/application_spec.rb
motherbrain-0.13.1 spec/unit/mb/api/application_spec.rb