Sha256: 36974198cec5873b49022f6508354fb147c401ed9379aea343b841c12df5859a

Contents?: true

Size: 241 Bytes

Versions: 1

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true



shared_context 'Grape API App' do
  subject do
    Class.new(Grape::API)
  end

  before do
    subject.format :json
    subject.formatter :json, Grape::Formatter::Roar
  end

  def app
    subject
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
grape-roar-0.4.1 spec/support/all/grape_app_context.rb