Sha256: 5627c36879b5e9a8c0491018db3eb25ebe7ddf36597443a19b79a02f788400b3

Contents?: true

Size: 355 Bytes

Versions: 5

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', '..', 'lib'))
require 'grape'

describe Grape do
  it 'eager_load!' do
    require 'grape/eager_load'
    expect { described_class.eager_load! }.not_to raise_error
  end

  it 'compile!' do
    expect { Class.new(Grape::API).compile! }.not_to raise_error
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
grape-1.8.0 spec/integration/eager_load/eager_load_spec.rb
grape-1.7.1 spec/integration/eager_load/eager_load_spec.rb
grape-1.7.0 spec/integration/eager_load/eager_load_spec.rb
grape-1.6.2 spec/integration/eager_load/eager_load_spec.rb
grape-1.6.1 spec/integration/eager_load/eager_load_spec.rb