Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fails against grape 1.3.0 #127

Open
utkarsh2102 opened this issue Mar 14, 2020 · 0 comments
Open

Tests fails against grape 1.3.0 #127

utkarsh2102 opened this issue Mar 14, 2020 · 0 comments

Comments

@utkarsh2102
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant