toptal/chewy

View on GitHub
lib/chewy/rspec/helpers.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method mock_elasticsearch_response_sources has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def mock_elasticsearch_response_sources(index, hits)
        raw_response = {
          'took' => 4,
          'timed_out' => false,
          '_shards' => {
Severity: Minor
Found in lib/chewy/rspec/helpers.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status