forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor API specs to play well with others
This is a big chang, it: 1. Moves API specs out of their special hierarchy 2. Removes the API spec spec_helper 3. Reactivates that stats command spec (that was accidentally not being run before due to it not having _spec as a suffix This was required to fix the preceeding commit, where we added a before(:each) hook to the spec_helper that wasn't being picked up in some cases due to the existence of two spec helpers and a $LOAD_PATH that could change. Fixes elastic#7132
- Loading branch information
Showing
14 changed files
with
68 additions
and
135 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
9 changes: 7 additions & 2 deletions
9
logstash-core/spec/api/lib/commands/stats.rb → .../spec/logstash/api/commands/stats_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
logstash-core/spec/api/lib/errors_spec.rb → ...ash-core/spec/logstash/api/errors_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
...ore/spec/api/lib/api/node_plugins_spec.rb → ...logstash/api/modules/node_plugins_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 1 addition & 2 deletions
3
logstash-core/spec/api/lib/api/node_spec.rb → ...re/spec/logstash/api/modules/node_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...-core/spec/api/lib/api/node_stats_spec.rb → ...c/logstash/api/modules/node_stats_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
logstash-core/spec/api/lib/api/root_spec.rb → ...re/spec/logstash/api/modules/root_spec.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters