Sha256: 3646b5aa5d23810d38929cebc4413d9d86f6484c01f115a1a0e71e816194b63a

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

require 'spec_helper'

describe GrapeSwaggerRails do
  context '#options' do
    subject do
      GrapeSwaggerRails.options
    end
    it 'is an instance of Options' do
      expect(subject).to be_a GrapeSwaggerRails::Options
    end
    it 'defaults headers to an empty hash' do
      expect(subject.headers).to eq({})
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
grape-swagger-rails-0.4.0 spec/features/grape-swagger-rails_spec.rb
grape-swagger-rails-0.3.1 spec/features/grape-swagger-rails_spec.rb
grape-swagger-rails-0.3.0 spec/features/grape-swagger-rails_spec.rb
grape-swagger-rails-0.2.2 spec/features/grape-swagger-rails_spec.rb
grape-swagger-rails-0.2.1 spec/features/grape-swagger-rails_spec.rb
grape-swagger-rails-0.2.0 spec/features/grape-swagger-rails_spec.rb