api-pagination icon indicating copy to clipboard operation
api-pagination copied to clipboard

Tests fails against grape 1.3.0

Open utkarsh2102 opened this issue 5 years ago • 0 comments

Hi,

There are tests failures against grape 1.3.0. Here are the logs:

An error occurred while loading ./spec/active_record_spec.rb.
Failure/Error:
  klass = if Grape::VERSION >= '1.2.0' || defined?(Grape::API::Instance)
    Grape::API::Instance
  else
    Grape::API

NameError:
  uninitialized constant Grape::VERSION
# ./lib/api-pagination/hooks.rb:5:in `<top (required)>'
# ./spec/support/numbers_controller.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/active_record_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/api-pagination_spec.rb.
Failure/Error:
  klass = if Grape::VERSION >= '1.2.0' || defined?(Grape::API::Instance)
    Grape::API::Instance
  else
    Grape::API

NameError:
  uninitialized constant Grape::VERSION
# ./lib/api-pagination/hooks.rb:5:in `<top (required)>'
# ./spec/support/numbers_controller.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/api-pagination_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/grape_spec.rb.
Failure/Error:
  klass = if Grape::VERSION >= '1.2.0' || defined?(Grape::API::Instance)
    Grape::API::Instance
  else
    Grape::API

NameError:
  uninitialized constant Grape::VERSION
# ./lib/api-pagination/hooks.rb:5:in `<top (required)>'
# ./spec/support/numbers_controller.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/grape_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/rails_spec.rb.
Failure/Error:
  klass = if Grape::VERSION >= '1.2.0' || defined?(Grape::API::Instance)
    Grape::API::Instance
  else
    Grape::API

NameError:
  uninitialized constant Grape::VERSION
# ./lib/api-pagination/hooks.rb:5:in `<top (required)>'
# ./spec/support/numbers_controller.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/rails_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/sequel_spec.rb.
Failure/Error:
  klass = if Grape::VERSION >= '1.2.0' || defined?(Grape::API::Instance)
    Grape::API::Instance
  else
    Grape::API

NameError:
  uninitialized constant Grape::VERSION
# ./lib/api-pagination/hooks.rb:5:in `<top (required)>'
# ./spec/support/numbers_controller.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ./spec/sequel_spec.rb:1:in `<top (required)>'
No examples found.

Finished in 0.00004 seconds (files took 0.58692 seconds to load)
0 examples, 0 failures, 5 errors occurred outside of examples

utkarsh2102 avatar Mar 14 '20 16:03 utkarsh2102