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

Fix specs circular dependency #1282

Merged
merged 2 commits into from
Feb 22, 2016

Conversation

304
Copy link
Contributor

@304 304 commented Feb 21, 2016

The whole test suit is green but specs below are failing if you execute them one by one:

rspec spec/grape/api_spec.rb
rspec spec/grape/entity_spec.rb
rspec spec/grape/middleware/formatter_spec.rb

The reason is require 'active_support/core_ext/hash' which is defined
in exception_spec.rb. It hides the real problem that Grape does not
require active_support library which provides hash to xml convertation.

The whole test suit is green but specs below are failing:
```
rspec spec/grape/api_spec.rb
rspec spec/grape/entity_spec.rb
rspec spec/grape/middleware/formatter_spec.rb
```

The reason is `require 'active_support/core_ext/hash'` which is defined
in exception_spec.rb. It hides the real problem that Grape does not
require active_support library which provides hash to xml convertation.
@dblock
Copy link
Member

dblock commented Feb 22, 2016

👍

dblock added a commit that referenced this pull request Feb 22, 2016
@dblock dblock merged commit 4ae8e0d into ruby-grape:master Feb 22, 2016
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

Successfully merging this pull request may close these issues.

2 participants